Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diegogallegos4/react-node-mongodb-starter
A starter template for React/NodeJS/Mongodb
https://github.com/diegogallegos4/react-node-mongodb-starter
docker hooks mongodb mongoose nodejs react
Last synced: 4 days ago
JSON representation
A starter template for React/NodeJS/Mongodb
- Host: GitHub
- URL: https://github.com/diegogallegos4/react-node-mongodb-starter
- Owner: DiegoGallegos4
- Created: 2020-04-21T04:45:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T19:34:39.000Z (almost 2 years ago)
- Last Synced: 2024-12-06T22:07:16.714Z (20 days ago)
- Topics: docker, hooks, mongodb, mongoose, nodejs, react
- Language: JavaScript
- Size: 7.8 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## React-NodeJS-Mongodb Starter
This starter template contains two directions:
- frontend
- backendThe frontend is composed of a CRA backbone with support for Redux and Router. Asynchronous calls are done with thunks. The components use Hooks instead of Classes.
To run the frontend:
```
cd frontend
npm run start
```The project's proxy points to `localhost:8080`. This is the url of the backend.
The backend is a NodeJS app that can be ran with docker.
To run the backend:
```
docker-compose build
docker-compose run
```It will start a Nodejs web server pointing to a MongoDB database.
#### TODO
- [ ] Script to deploy frontend with Firebase Hosting/Now
- [ ] Script to deploy backend to Google App Engine
- [ ] Use validation with Joi.