Giter VIP home page Giter VIP logo

servely's Introduction

Servely

logo

Servely is an open-source fullstack JavaScript application, with a Node.js + Lowdb + GraphQL serverside, and ReactJS on the client side. The project is a simple ordering system that lets an organization add their purchasable items, and create orders for those items.

Build Status

Actions Status

Getting Started

Prerequisites

  1. NodeJS >= 12

Install

npm i

#Transpile & deploy client side code
cd .\src\client\
npm i
npm run deploy

#Transpile and start server side code
cd ..\..
npm run build
npm start

Open your browser to http://localhost:8080.

Server

The server is initialized in src\server\server.js

To change any configurations, edit src\server\config.js,

Client side

The client is initialized in src\client\js and was build with create-react-app

Known limitations

LowDb is used since the app needs to run on a RaspberryPi. This measns the db shouldn't exceed a size of 200mb.

servely's People

Contributors

friesenma avatar markusfriesen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

servely's Issues

Error handeling

Show error with a toast on client side for all http calls

Looking to contribute

Hi Markus,

I'm a friend of your brother Alex.
He showed me your OrderMe app and I think it looks pretty cool.
I'm solid in full stack js. I've primarily used Vue and ng2+ on the client but I'm sure I can pick up
on react quickly. I'd like to contribute to this project and was hoping you would let me join you.
I encourage you to view my Github page and personal website https://www.anthonyscinocco.com/

Thank you for the consideration,
Anthony Scinocco
[email protected]

Set up API end points for webpack-dev-server

Currently, when in development mode, there are no webpack-dev-server end points.

I want to create end points for each api call, to simulate the production environment reduce errors, and verify the client behaves as expected.

HowTo:

setup: function(app) {
... add api points here 
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.