Skip to content

arisgk/data-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Data Table

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.

Front-end

The front-end app is built using React, Redux and Apollo.

Back-end

The back-end app is built using Node.js, Express and Apollo Server.

Data Store

MongoDB is used as a data store.

Development

Create an .env file in project root to register the following required environment variables:

  • MONGODB_URI - MongoDB connection URI

Server

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

Client

To start the client run npm start.

Run the test watcher in an interactive mode using npm test.

Deployment

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.