This is a full-stack website app for a fake take-out Bakery Shop, named "Royal Bakery".
Why we picked this project:
- Better understanding of functionality and requirements of this project.
- Useful in real world to similar small startups, particularly in food industry.
- App acting as a Customer – Owner medium channel.
Features:
- SMS based notifications to both Client and Owner when order is placed and when it will be ready.
- Use of Bootstrap for styling responsive pages.
- Maintaining selected items for each user, so that on re-login, previous items are still shown in the account.
- Showing previous orders to clients and ability to give feedback for each order.
- Owner can see all relevant info of orders at one page to decide and update for “ready by” and “pick up” timings.
- Secure Login data and cookies, using bcrypt and cookie-session.
]
- Create the
.env
by using.env.example
as a reference:cp .env.example .env
- Update the .env file with your correct local information
- username:
labber
- password:
labber
- database:
midterm
- Install dependencies:
npm i
- Fix to binaries for sass:
npm rebuild node-sass
- Reset database:
npm run db:reset
- Check the db folder to see what gets created and seeded in the SDB
- Run the server:
npm run local
- Note: nodemon is used, so you should not have to restart your server
- Visit
http://localhost:8080/
- Node 10.x or above
- NPM 5.x or above
- Express
- Bootstrap
- Twilio
- ejs
- morgan
- PG 6.x
- Bcrypt
- cookie-session
- Body-parser