CSH's website for job finding purposes.
This site is written using a React front end, with a Express, and uses Sass and JavaScript ES2020.
Set a local database environment variable to use
export DATABASE_URL=postgresql://brickwall:password@postgres.host.url/brickwall?schema=public'
yarn
yarn start
The site should now serve locally at localhost:3000
and the api will be served at localhost:8080/api
.
If you want to start just a single app run one of the following
yarn workspace @csh/brickwall-client start
yarn workspace @csh/brickwall-server start
yarn
yarn prod:build
The site should now be served at localhost:8080
. The api will be at localhost:8080/api
and all routes that do not begin with /api
will be handled by react router on the frontend.
In order to run locally, you're going to need an OIDC client, by default there's a client/.env
file which defines all default variables.
You can create a client/.env.local
to modify and add new variables for local development or export
vars before running.
All variables need to be prepended with REACT_APP_
if used by the frontend
In order to run locally, you're going to need a postgreSQL server and database. You can either create a server/prisma/.env
or you can simply export DATABASE_URL=postgresql://brickwall:password@postgres.host.url/brickwall?schema=public'
before running.
git checkout -b BRANCH-NAME-HERE
)Please file an Issue on this repository or contact webmaster@csh.rit.edu with inquiries about the site.