Skip to content

codam-coding-college/find-peers

Repository files navigation

Find peers --> find-peers.codam.nl

This website is meant to help students to find peers that are working on the same project

Developing

Setup & configuration

  • Create a Oauth application on intra
  • Copy the file ./env/.env-example to ./env/.env and fill out the (secret) data

Also see ./src/env.ts for more configuration

Updating the secrets / API tokens

cd find-peers
vim env/.env
# make changes
docker compose down
docker compose up -d

# To get logs
docker logs --tail 10000 -f find-peers

Configuration files

File path Description Managed by server
./env/.env-example Example file for api tokens, rename to .env to activate no

Running

The database of this project is in a folder called 'database' at the root of the project.

Docker and Docker-compose

This is in production

git clone https://github.com/codam-coding-college/find-peers.git
cd find-peers
docker compose up -d

# To get logs
docker logs --tail 10000 -f find-peers

Locally

  • Install Nodejs >= 18.x
  • Install dependencies
    npm install
  • Generate prisma client npx prisma generate
  • Push schema directly npx prisma db
  • Start development server
    npm run dev

About

This website is meant to help students find peers that are working on the same project

Topics

Resources

Stars

Watchers

Forks

Packages