matusstas / testovacie-zadanie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AMCEF test assignment

The project is containerized with docker and consists of 3 containers: MongoDB, Server and Frontend.

Installation

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:

Useful commands

Stop project:

docker-compose stop

Start project:

docker-compose start

Remove all containers:

docker-compose down

Swagger documentations

Container ports

  • MongoDB - 8000
  • Server - 8001
  • Frontend - 80

List of things what I have done

  • 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

List of things what I haven't done (was not able to figure out)

  • Hide error message in create post page when userId is correct but title or body are not valid

About


Languages

Language:Python 53.7%Language:HTML 30.4%Language:JavaScript 12.1%Language:Dockerfile 2.1%Language:CSS 1.7%