Using node.js, express.js, vite+react, mongodb
Sorry in advance if I don't use PostgreSQL to sequelize because there is a docker bug on macOS I can't open and stuck starting
Requirements: using node.js version 18.18.0
- go to each frontend and backend folder do "Npm Install"
- Create an .env file with this format
Note
NODE_ENV=development PORT=5001 MONGO_URI=mongodb+srv://hendradito123:[email protected]/kelontong?retryWrites=true&w=majority JWT_SECRET=grocery123
3.then run "NPM run dev"