Skip to content

Monolithic server for Season of Code

Notifications You must be signed in to change notification settings

GMHarish285/pulse

Repository files navigation

Pulse - Monolithic Backend for ACM's Season of Code

This repository contains the monolithic Golang backend to ACM's season of code platform.

Setup Steps

1.Clone the repository

git clone https://github.com/Infinite-Sum-Games/pulse
# or
gh repo clone Infinite-Sum-Games/pulse
  1. Fill out the environment variables and rename the file as .env. Run migrations as:
# Install the CLI tool goose or run it manually
goose up
  1. Generate all the database helper functions by running:
make sql 
# or 
sqlc generate
  1. Seed your database for development by running:
make seed
  1. For development you can get live-reloading features by using:
air
  1. For building the project and running use:
make run

Further instructions can be found within the Makefile. To provision a PostgreSQL database, you can either use Neon or run docker compose. A configuration file has been provided in the repository.

Overview

  1. Gin-Gonic framework - WebServer
  2. PostgreSQL - Database (primary)
  3. Zerolog - Logger
  4. Air - Live Reload Go apps
  5. Redis - Database (cache)

Builders

  1. Ritesh Koushik
  2. Harish GM
  3. Jayadev D

About

Monolithic server for Season of Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •