Skip to content

Backend Server of Envelope, A Anonymous Text/Photo Posting Website

License

Notifications You must be signed in to change notification settings

envelope-app/envelope-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Backend Server of Envelope, A Anonymous Text/Photo Posting Website

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages