Skip to content

Abdullah-988/WeDecide-backend

Repository files navigation

📊 WeDecide Backend

Real time poll voting backend app built using PostgreSQL, Express.js, Pusher and Node.js with Typescript.

feel free to check this project's front-end

Getting started

To get started with this project, run:

git clone https://github.com/Abdullah-988/WeDecide-backend.git

Setup .env file:

DATABASE_URL=""
PORT=
JWT_SECRET=""

PUSHER_APP_ID=""
NEXT_PUBLIC_PUSHER_APP_KEY=""
PUSHER_APP_SECRET=""

to generate a quick JWT secret use can run:

openssl rand -base64 32

then run:

npm install

and

npm run dev

License

WeDecide is released under the MIT License.