- Fork this repository by clicking the Fork button at the top right of the page.
- Clone this repository.
cd
into the newly created directory.- Run
npm install
. - Run
npm start
.
Running npm start
will run both the backend and the client.
This repository is set up as a monorepo, meaning that the client and backend projects are in one repository. This allows you to open both projects in the same editor.
The table below describes the folders in this starter repository:
Folder/file path | Description |
---|---|
./backend |
The backend project, which runs on localhost:5001 by default. |
./client |
The frontend project, which runs on localhost:3000 by default. |
Making a GET
request to /generate
will return a randomly-generated name.
This is meant to be deployed on Render. Fetching may take a few seconds while Render spins up the server.