https://github.com/thammami01/basic-blog-technical-assessment
Solution for a technical assessment that requires building a basic blog using React, Python, and Docker.
https://github.com/thammami01/basic-blog-technical-assessment
docker docker-compose fastapi python react technical-assessment typescript
Last synced: 2 months ago
JSON representation
Solution for a technical assessment that requires building a basic blog using React, Python, and Docker.
- Host: GitHub
- URL: https://github.com/thammami01/basic-blog-technical-assessment
- Owner: THammami01
- Created: 2022-10-15T19:22:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-09T11:08:09.000Z (over 3 years ago)
- Last Synced: 2025-01-14T05:33:54.641Z (over 1 year ago)
- Topics: docker, docker-compose, fastapi, python, react, technical-assessment, typescript
- Language: TypeScript
- Homepage:
- Size: 107 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Technical Assessment
## Installation
Run the client, server and database all at once with Docker Compose:
```sh
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:
```sh
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


