I created an application so that restaurants can allow their users to create, update, view, and delete reservations. I made is possible to seat them at varius tables within the restaurant as well.
- React
- React hooks
- React router
- Node
- Postgres
- Express
- CSS
- Bootstrap 4
- HTML
- JavaScript
- RESTful APIs
- Fork and clone this repository.
- Run cp ./back-end/.env.sample ./back-end/.env.
- Update the ./back-end/.env file with db connections. You can set some up for free with ElephantSQL database instances.
- Run cp ./front-end/.env.sample ./front-end/.env.
- You should not need to make changes to the ./front-end/.env file unless you want to connect to a backend at a location other than http://localhost:5000.
- Run npm install to install project dependencies.
- Run npm run start:dev from the back-end directory to start your server in development mode.
- Run npm start from the front-end directory to start the React app at http://localhost:3000.