Skip to content

ShivamIITK21/cflockout-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CFLockout Backend

This is the backend for CFLockout

How to Run?

1). Create an .env file with the following

HOST=localhost
USER_DB=<postgres username>
PASSWORD=<postgres pass>
DB_NAME=<Name of DB>
DB_PORT=<Port of DB>
SSL_MODE=disable
SERVER_PORT=<port of server>
SECRET_KEY=<key for jwt auth>

2). Spin up the server

go run main.go

3). The following routes have been implemented

POST /auth/login
POST /auth/signup
POST /lockout/create
GET /lockout?session_id=
GET /problems?user=
GET /problems/refresh

About

Backend For CFLockout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages