Welcome to the eras UI repository!
eras is a company providing personal finance companionship for individuals all around the world. We hope to serve the various needs of individiuals in their financial journey, no matter what their financial situation is.
- Clone the repository
git clone git://github.com/eras-fyi/ui.git- Install dependencies
npm install- Add the right env vars
- Create a copy of
.env.local.exampleas.env.local - Fill in the values for the env vars in
.env.local - Note that
NEXT_PUBLIC_API_ENVcan be set tomock,localorprod:- Using
mock, a JSON response from__tests__/__mocks__/functions.jsonis returned for each message sent. - Using
local, a request is made to a locally deployed edge function served athttp://localhost:50321. - Using
prod, the request is made to the edge function deployed in production.
- Using
- Run the application
npm run dev- Open the application in your browser (http://localhost:3000)