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
- Host: GitHub
- URL: https://github.com/dxtaner/react_foods-app
- Owner: dxtaner
- Created: 2022-07-15T11:58:14.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-19T19:17:11.000Z (almost 3 years ago)
- Last Synced: 2025-03-13T03:17:46.749Z (over 1 year ago)
- Topics: api-client, astradb, food-app, foods, nodejs, react
- Language: JavaScript
- Homepage:
- Size: 941 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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