Welcome to a fast and light weight car rentals wensite by Ayamooh company.
The app is within a mono repo with 3 packages
- Backend
- Frontend
- Common
ENV=DEV | PROD Develepement or Production MONGODBURL=mongodb://localhost:27017/ Mongo Db Connection String ADMINCODE=1234 Super Secret Password to sign auth cookies and login PORT=3000 Port to run the backend on
The common has general code useb by both from and backend. You will need to config the sites contact info, backend and frontend URL in the src/constants file
Already configured
npm run start:dev: Use this to start the development server npm run createAdmin: Use this to create an admin account after hosting the backend.