Skip to content

act-up/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Act.Up Backend

API

The REST API is written in Golang with the Gin web framework and the Gorm ORM library.

Database

We are using PostgreSQL for the database, with the pq Postgres driver for Go.

The db folder contains snippets for setting up the database and tables.

Tests

We are using Postman to create and run API tests. The tests can also be run with NodeJS.

Install NodeJS Testing Dependencies

$ npm install follow-redirects

$ node <test_name>.js

Installation

Fetch and install golang packages:

go get github.com/gin-gonic/gin
go get github.com/jinzhu/gorm
go get github.com/lib/pq
go install github.com/gin-gonic/gin github.com/jinzhu/gorm github.com/lib/pq

Build and install this package:

go build main.go
go install main.go

TODO update documentation

Google Cloud Infrastructure Setup

API: the golang REST API is deployed using Google App Engine

Database: the data is stored in a PostgreSQL database hosted on Google Cloud SQL for PostgreSQL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors