Welcome to the backend repository for HiveTalk! This repository contains the server-side code and GraphQL APIs for our application.
Link to the GraphQL APIs playground - https://hivetalkapi.onrender.com/graphql
Link to the front-end repository - https://github.com/imf-ali/HiveTalk-web
These instructions will help you get the backend server up and running on your local machine.
- Node.js (v16 or higher)
- PostgresQL (or your preferred database)
-
Clone the repository:
git clone https://github.com/imf-ali/HiveTalk-backend.git
-
Copy the .env-example file to .env file. JWT_SECRET can be any random string
cp .env-example .env
-
Install the packages
yarn
-
Build the project
yarn build
-
Apply the migrations to the database schema
yarn create:migration
-
Run the project
yarn start