The project is containerized with docker and consists of 3 containers: MongoDB, Server and Frontend.
You have to install these technologies:
After that just enter this command into terminal to initialize project (you have to be in root directory)
docker-compose up -d --build
Finally go to this link:
Stop project:
docker-compose stop
Start project:
docker-compose start
Remove all containers:
docker-compose down
- MongoDB - 8000
- Server - 8001
- Frontend - 80
- Jinja2 API with Template Inheritance included
- Bootstrap as a front-end framework
- Responsive web design
- Client-side validation (title, body)
- Server-side validation (userId)
- ORM with pymongo
- Use of external API for userId validation when creating new post
- Error handling
- Project containerization
- Hide error message in create post page when userId is correct but title or body are not valid