🚀 Full-Stack Web Application with PostgreSQL, Golang, and React
A fully Dockerized setup for an easy-to-run stack.
This project demonstrates a full-stack setup with:
- PostgreSQL for database management 🗄️
- Golang for backend REST API development 🐹
- React for frontend UI 🌐
- Docker for containerization 🐳
Make sure you have the following installed on your system:
- Docker 🐳
- Docker Compose 📦
-
Clone the repository
git clone https://github.com/VictorTsokonov/SimpleFullStack.git cd SimpleFullStack -
Run the application with Docker Compose
docker-compose up --build
-
Access the application
- Frontend: http://localhost:3000
- Backend API: http://localhost:8080
-
Test the API
You can test the API endpoints directly or through the frontend interface. The backend API serves endpoints for managing a list of games.
The frontend, built with React, provides a user-friendly interface for interacting with the API. You can add, delete, and view games in the library.
The backend provides a REST API with the following endpoints:
GET /games- Retrieve a list of gamesPOST /game- Add a new gameDELETE /game?id=<id>- Delete a game by ID
Data is stored in a PostgreSQL database container, ensuring persistence across sessions.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a pull request
- Docker - Making containerization easy
- Golang - The Go Programming Language
- PostgreSQL - The World's Most Advanced Open Source Relational Database
- React - A JavaScript library for building user interfaces