Skip to content

retireupinc/retireup-sample-api-app

Repository files navigation

Retireup Sample API App

This project was bootstrapped with Create React App and uses an Express server as a proxy to the Retireup API.

Using this project

Download or Clone the project then change into the directory and install the dependencies.

git clone https://github.com/retireupinc/retireup-sample-api-app.git
cd retireup-sample-api-app
nvm i
npm i

Create a .env file for environment variables in your server. Copy the .env.sample -> .env as a starting point.

You can start the server on its own with the command:

npm run server

Run the React application on its own with the command:

npm start

Run both applications together with the command:

npm run dev

The React application will run on port 8000 and the server on port 8001.