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

https://github.com/dxtaner/react_foods-app

Foods-App
https://github.com/dxtaner/react_foods-app

api-client astradb food-app foods nodejs react

Last synced: 2 months ago
JSON representation

Foods-App

Awesome Lists containing this project

README

          

# Food App

This project was built for a demo on using a Document API and Express.js.

## Start the project

✅ Register (if needed) and Sign In to Astra [https://astra.datastax.com](https://astra.datastax.com): You can use your `Github`, `Google` accounts or register with an `email`.

✅ Create an ASTRA_TOKEN and add data to your project as per the tutorial.

✅ Create `.env` file

```ini
ENDPOINT={ your_endpoint }
ASTRA_TOKEN={ your_token }
```
👩‍💻 Install all the packages

```bash
npm install
```

👩‍💻 Start the backend

```bash
npm run start:backend
```

Runs the app in the development mode.\
Open [http://localhost:8080](http://localhost:8080) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

👩‍💻 Start the frontend
```bash
npm run start:frontend
```

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

### MIT Licence