GitHunt
TH

THammami01/basic-blog-technical-assessment

Solution for a technical assessment that requires building a basic blog using React, Python, and Docker.

Technical Assessment

Installation

Run the client, server and database all at once with Docker Compose:

docker-compose up -d

The front-end should run on port 3000, the back-end on port 8000, and the database on port 27017.

Make sure that these ports aren't reserved on your machine or you will face an error.

Cleanup

Remove all created images and containers:

docker-compose down --rmi all

Back-end Endpoints

GET     /posts/
GET     /posts/{id}
POST    /posts/
PUT     /posts/{id}
PATCH   /posts/{id}/upvote
PATCH   /posts/{id}/downvote
DELETE  /posts/{id}

Front-end Screenshots

01

02

03

Languages

TypeScript68.6%SCSS14.7%Python12.9%Dockerfile1.5%HTML1.4%Shell0.6%JavaScript0.3%

Contributors

Created October 15, 2022
Updated December 17, 2023