- Create a backend using Express.js, Node.js and MongoDB
- Create a server with Express.js
- Store data using MonoDB
- Adding login functionality
- Adding 404 erorr page
- Connect API with Vue app using fetch method
- All functionality works now with API server
- GET all lessons
- POST lesson to the cart
- GET user cart
- GET all lessons
- DELETE lesson from the cart
- Upload the full-stack app at railway live-demo below 👇
when the path is https://lesson-shop.up.railway.app/api/lessons the server will return a list of lessons (example below)
[
{
"_id": "63dca1f1cf294db1247b790b",
"lessonId": 1,
"topic": "Algebra",
"location": "London",
"price": 200,
"image": "https://therealschool.in/blog/wp-content/uploads/2021/06/algebra-games-for-kids-1.jpg",
"icon": "fa-solid fa-square-root-variable"
},
]when the path is https://lesson-shop.up.railway.app/api/users the server will return a user details (example below)
{
"email": "user@email.com",
"password": "mypassword"
}GitHub Repo: https://github.com/Elijahitiary/lesson-app-v2
Live Demo: https://lesson-shop.up.railway.app/
previous version: https://github.com/Elijahitiary/lesson-app

