Dev House is a twitter-like social networking platform for developers. Registered users can post, like, comment, and share posts with people in their network.
Clone this repository:
git clone git@github.com:jsam07/devHouse.git
Before building, be sure to add a .env
file with the follow shape to the root of the project:
# Private JWT key
JWT_SECRET="67536t567g-d6f3-67r3-bb7t-675d849ccc10"
# URL to connect to Database (SQLite by default)
DATABASE_URL = "file:../db/dh.db"
# GitHub Credentials for Passport
GITHUB_CLIENT_ID="8af5555555555"
GITHUB_CLIENT_SECRET="d0aa222222222"
GITHUB_ADMIN_ID="00000000"
GITHUB_ADMIN_NAME="John Doe"
Install npm dependencies:
cd devHouse
npm install
Start server:
npm run start
The deveopment server should now be running on http://localhost:3000.
--
--
--