Skip to content

VictorTsokonov/SimpleFullStack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleFullStack

🚀 Full-Stack Web Application with PostgreSQL, Golang, and React
A fully Dockerized setup for an easy-to-run stack.

🛠 Tech Stack

PostgreSQL Golang React Docker

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 🐳

🚀 Getting Started

Prerequisites

Make sure you have the following installed on your system:

  • Docker 🐳
  • Docker Compose 📦

Run the app!

  1. Clone the repository

    git clone https://github.com/VictorTsokonov/SimpleFullStack.git
    cd SimpleFullStack
    
  2. Run the application with Docker Compose

    docker-compose up --build
    
  3. Access the application

  1. 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.

📖 Usage

Frontend (React)

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.

Backend (Golang)

The backend provides a REST API with the following endpoints:

  • GET /games - Retrieve a list of games
  • POST /game - Add a new game
  • DELETE /game?id=<id> - Delete a game by ID

Database (PostgreSQL)

Data is stored in a PostgreSQL database container, ensuring persistence across sessions.

🤝 Contributing

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a pull request

🙏 Acknowledgments

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •