The frontend for Wildlife Trust of India database that tracks rescued animals.
- Node version 10
- Clone the repo into your required directory
- Navigate to the directory in a terminal
- You will need to generate certs for running locally.
Refer to this article.
For now, we ship with a
cert
directory which has everything you need to get started. - We ship a docker compose file for running mongodb. Simply from the repo root
run
docker compose up -d
. - Copy the
.env.sample
to.env
. - Run
npm install
in the terminal. - Run
npm run devstart
from the terminal. - The application will be running on port 4001. This can be changed in the .env
(
BSPORT
) file. - Default login is
[email protected]
and password ispassword
.
- First build the assets by running
npm run build
. - Now start the server
npm run start
. - Make sure
HTTPS
is not set tofalse
in.env
and you have proper certificates installed.
- Joe Chapman - [email protected]
- Vibhuti Gupta - [email protected]
ISC