Skip to content

indebrau/indebrau-backend

 
 

Repository files navigation

Indebrau Backend

Development

  1. Prerequisites: Node v18.12.1, Postgres 13.0

  2. Rename '.env.sample' to '.env' for both main folder and prisma folder and adjust values

  3. Run

npm install
npx prisma introspect
npx prisma generate
npm run dev

For initial/fresh backend deploy: Please mind, that you have to prepare the database first, by running the schema.sql file on it. Mind, that this will erase all data!

Deployment

Build latest docker image:

docker build -t indebrau/indebrau-backend .

Misc

Please keep in mind, that if changing the media directory in the environment variables, a docker-compose script (mounting the directory as a volume) has to be adjusted as well.

About

The indebrau.de backend.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.7%
  • Dockerfile 0.3%