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.
- NodeJS >= 12
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:https://localhost:8080
.
The server is initialized in src\server\server.js
To change any configurations, edit src\server\config.js
,
The client is initialized in src\client\js
and was build with create-react-app
LowDb is used since the app needs to run on a RaspberryPi. This measns the db shouldn't exceed a size of 200mb.