ben-gibson / PostHQ

A simple, Reddit like application, where users create public posts that are up or down voted by the community.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Post HQ

A simple, Reddit like application, where users create public posts that are voted on by the community. Posts with the most votes appear closer to the top of a feed and Posts with fewer votes appear closer to the bottom. The goal of this project is to get familiar with Node.JS and the Express framework. See the technical design docs for more details.

Getting Started

Configure Environment Variables

Run the following command from the projects root directory.

$ echo "DEV_UID=$(id -u)" > .env

This ensures that any files created in mounted directories have the correct permissions.

Run the development containers

Run the containers in the background.

$ docker-compose up -d

Once the containers have been started and the npm dependencies installed you should be able to access the application on localhost here http://localhost:3000.

Running tests

$ docker-compose exec app npm test

Usage

TODO

Deployment

TODO

About

A simple, Reddit like application, where users create public posts that are up or down voted by the community.


Languages

Language:JavaScript 95.6%Language:Dockerfile 4.4%