Skip to content

uw-nexus/nexus-fe

Repository files navigation

NEXUS UW - Frontend

Projects platform between non-profit organizations (NPO) and students.

Getting Started

Install dependencies.

npm install

Define your environment variables in a .env file, in KEY=VALUE format. If deploying to GAE, you can write them in your app.yaml instead. Then, run the backend.

ENV Default Description
DOMAIN localhost Domain serving both FE and BE
FE_ADDR http://localhost:3000 Frontend service address
BE_ADDR http://localhost:3100 Backend service address
ALGOLIA_APP_ID null Algolia app ID
ALGOLIA_API_KEY null Algolia admin PI key

Development

npm run dev

Production

npm run build
npm start

Deployment with Google App Engine

Create your app.yaml for GAE, then run

npm run deploy