Clone the repo to your device.
Make sure you have installed yarn on your device
Install the node modules:
yarn install
.env
, then it should look likeENV=DEV
MONGODB_URI=mongodb://localhost:27017/
PORT=4000
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_USER_REDIRECT_URI=
GOOGLE_ADMIN_REDIRECT_URI=
JWT_SECRET=
FRONTEND_URL=
....
config.ts
, then it should look likeconst config = {
db: "bill-Buddy",
port: parseInt(process.env.PORT ?? "4000"),
};
export default config;
yarn run dev
The server should be ruuning at your local host port 4000.
The frontend for this: https://github.com/Bill-BuDyy/Bill-Buddy-App
Join our Discord Channel for more info: https://discord.com/invite/tuWBYEg6