A simple phone shop made with Node.js, Express.js, EJS and Bootstrap. The app is deployed to fly.io and is available at https://phone-shop.fly.dev/. It uses MongoDB Atlas as a database and sessions to store the cart.
Open http://localhost:3000 to view it in your browser.
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
- change in_stock (boolean) field of Phone model to quantity (number)
- change EJS to React to enable reactivity (e.g. adding to cart without a full page refresh)
- add more phones
- fix alerts to always appear immediately (sometimes they appear only after a refresh)
- fix alerts bug (sometimes the message is not displayed)
- add sorting and filtering
- add payment form and payment processing
- add user authentication and authorization
- add admin panel