This was originally a group assignment at Medieinstitutet. I have since then refactored the whole code base and added some new but basic functionality. If you want to see the original project you can click here
This is a basic online booking system for a made up restaurant. It features a basic SPA with the ability to make a reservation for a table. There are some basic validations both on the frontend and backend.
The project also features a admin dashboard where you can update different reservations and get a basic table view of the restaurants and the reservations. To access the admin dashboard you type navigate to "/admin".
- React
- Typescript
- React Calendar
- Luxon
- Vite
- NodeJS
- ExpressJS
- MongooseJS
- MongoDB
-
Clone the repo
https://github.com/Medieinstitutet/the-restaurant-grupp-8.git
-
Install dependencies
npm i
-
Create .env file in the root directory and add the credentials. Add your own API-key in the field.
MONGO_CONNECTION_STRING=
-
If you want to populate the database with mockdata (make sure you are in the fed22s-backend directory)
npm run seedDb
-
Run the server (fed22s-backend directory)
npm run dev
-
Run the frontend (fed22s-therestaurant directory)
npm run dev