Skip to content

Latest commit

 

History

History

backend

A solution to the ongoing problem of crime and public safety


What is this folder?

This folder is the backend component of CRA (/backend/), built with node js (express)

It's live on 👉 CRA.TECH

How can I contribute?

We're using DOCKER

Compile @CRA/Backend by executing the following commands:

cd ../backend
 docker build -t backend .
 docker-compose up -d

After you successfully compiled the backend, go back to this directory and add all the enviroment variables

You should now be all set to go, go ahead and run the dev image

cd ../backend

DATABASE_URL=
JWT_SECRET=
PORT=

docker run -p 49170:80 -d backend


```# Crime-Analytica_backend