envelope-backend

command module
v0.0.0-...-870a995 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

README

Envelope Backend

This project is the backend of an Anonymous Facebook like platform. The application is called Envelope.

The Backend is written in Go. It uses Postgresql to store posts/likes/comments with a redis proxy that caches recent posts.

The compiled executable is packed in a Docker container and deployed to EC2.

Requirements

  1. Golang Compiler. Download a compatible version for your machine from here
  2. Postgresql
  3. Redis

Build Instructions

Before, Building, Be sure to set up environment variables correctly. If you are using Docker, Put correct values in setup_env file.

git clone https://github.com/envelope-app/envelope-backend
cd envelope-backend
go get github.com/envelope-app/envelope-backend
go build 

We prefer a multi stage docker container for docker based deployments.

docker build -t envelope . 
docker run --rm -it --env-file setup_env --net=host envelope

Architecture

// TODO

Contributors

  1. Ishan Jain(@ishanjain28)
  2. Mrinal Raj(@mrinalraj)
  3. Piyush Bhatt(@piyush01bhatt)

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL