This is a simple truck delivery scheduling system that is based on MERN stack. Database used in this app is from free tier MongoDB Atlas. Make sure to create an account to use Atlas with this app. Go to https://mern-delivery-scheduler.herokuapp.com to view the deployed demo of this app
-
Install dependencies
npm install cd client && npm install
-
Update database URI. Update <ATLAS_URI> and <TEST_ATLAS_URI> environment in .env file with <CONNECTION_URI>
-
Run app in local host
npm run dev # Client app will be available in localhost:3000
-
Run backend unit testing. Testing will use database specified in <TEST_ATLAS_URI> in .env
npm test
For the purpose of demo-ing CI/CD, another private production repo is being used which contains the same code as this repo but with confidential database URI
-
CI has been setup via CircleCI which will build the app upon commit and send notifications to developer through email. CI config is available at .circleci/config.yml
-
CD has been setup via Heroku which will deploy app upon commit at https://mern-delivery-scheduler.herokuapp.com after CI has passed