Skip to content

JIsaacSamuel/TRINIT_bugsquashers_DEV02

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tri-nit-2024

In this project we develop an interactive online platform that connects language learners with teachers for personalized online lessons by offering a platform where learners can choose a tutor based on their target language, fluency and budget.

Demo video

To get started, clone this repositry in your local machine.

Pre-requisite

You need the following to run the web application.
Postgresql
Go

Setting Up back-end

Inside the ../backend directory, the following commands need to be run in terminal to download required Go packages. Install Chi router

go get -u github.com/go-chi/chi/v5

Install goose to run migrations into database.

go install github.com/pressly/goose/v3/cmd/goose@latest

Import a postgresql driver

go get github.com/lib/pq

Configure postgres as follows: username: postgres
password: dummypass
host: localhost
port: 5432
database: lingua
cd into /sql/schema and run the following code in terminal to set-up the database.

goose postgres postgres://postgres:dummypass@localhost:5432/lingua up

Bacl in ../backend directory, run the below command in terminal.

go build && ./backend

If no error is shown, the backend server is up and running in port: 5000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published