Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/omgimalexis/up-n-down


https://github.com/omgimalexis/up-n-down

Last synced: 29 days ago
JSON representation

Awesome Lists containing this project

README

        

# Up 'n' Down

Up 'n' Down is a link aggregation internet forum. Users write posts and nested comments. Users must follow other users in order to see their content.

Other features:

* REST API
* Public and Private Groups
* [Site Documentation](https://up-n-down.xyz/docs/site)
* [API Documentation](https://up-n-down.xyz/docs/api)

## Install

Install one of the [tagged releases](https://github.com/omgimalexis/up-n-down/releases), preferably the most recent.

Create a PostgreSQL 11+ database.

Install Redis. This is only for the session store. Redis 6+ should be used.

Make sure you have Node.js installed.

Run `npm install` to download all the Node.js dependencies that are listed in `package.json`.

Set the following environment variables in a `.env` file.

* `PGHOST`: PostgreSQL host (usually `localhost`)
* `PGUSER`: PostgreSQL username
* `PGDATABASE`: PostgreSQL database name
* `PGPASSWORD`: PostgreSQL password
* `PGPORT`: PostgreSQL port
* `HTTP_PORT`: Port this app will use
* `SESSION_NAME`: `express-session` `name`
* `SESSION_SECRET`: `express-session` `secret`
* `NODE_ENV`: built-in node environment flag