Sample project presenting tabular data using ReactJS, Node.js, GraphQL and MongoDB. This project was bootstrapped with Create React App.
Check out a deployed version of the app.
The front-end app is built using React, Redux and Apollo.
The back-end app is built using Node.js, Express and Apollo Server.
MongoDB is used as a data store.
Create an .env
file in project root to register the following required environment variables:
MONGODB_URI
- MongoDB connection URI
To start the server run:
npm install
node server
You can use Nodemon to automatically restart the server when changes are detected:
npm install
npm install -g nodemon
nodemon server
To start the client run npm start
.
Run the test watcher in an interactive mode using npm test
.
When you’re ready to deploy to production, create a minified bundle with npm run build
.
You can use create-react-app deployment instructions as a guide for various solutions.