CoffeeKloia uses a number of open source projects to work properly:
- [node.js] - evented I/O for the backend
- [Express] - fast node.js network app framework
- [Mocha & Chai] Server Side Testing
- [React.js] - frontend
- [Redux.js] - for State Management
- [MongoDB] - for Database
requires Node.js v10+ to run.
Install the dependencies and start the app.
cd CoffeKloia\Server
npm i
npm start
cd CoffeKloia\client
npm i
npm start
- ./config includes configuration files (DB Connection String, Port Number)
- ./controllers contains RESTful Web Service controller files
- ./routers contains Web Service Routes
- ./Middleware contains middleware coffee existence check
- ./models foldercontains serverside models files
- ./test folder cointains chai mocha files
- ./server.js start file for server running
Run server.test.js to check server is running properly
Run coffee.test.js to check RESTful Service is running properly
cd CoffeKloia\Server\
npm run test
## Client Side Project Structure
- ./components includes React component files
- ./helpers contains Web Service Interceptor and error handling files
- ./redux contains state management files