Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/halbert-anderson/starter-name-generator-render


https://github.com/halbert-anderson/starter-name-generator-render

Last synced: 6 days ago
JSON representation

Awesome Lists containing this project

README

        

# Starter Name Generator

## Installation

1. Fork this repository by clicking the Fork button at the top right of the page.
2. Clone this repository.
3. `cd` into the newly created directory.
4. Run `npm install`.
5. Run `npm start`.

Running `npm start` will run both the backend and the client.

## Existing files

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:5000` by default. |
| `./client` | The frontend project, which runs on `localhost:3000` by default. |

### GET /generate

Making a `GET` request to `/generate` will return a randomly-generated name.

## Notes:

This is meant to be deployed on Heroku. Fetching may take a few seconds while Heroku spins up the server.