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

https://github.com/alan345/graphql-react

React auth mongodb express app example
https://github.com/alan345/graphql-react

apollo express graphql mongodb react redux

Last synced: 3 months ago
JSON representation

React auth mongodb express app example

Awesome Lists containing this project

README

          

# React auth mongodb express app example

## Description

An app example with authentication using Create React App, React, React Router, Apollo, Redux and Redux Form.

## Run the app

You have to run the server and the client app to see this example working.

### Client

The client app is all about the user interface.

> IMPORTANT NOTE
>
> The client app has been created with Create React App, which means you can build and run it for production too.

Run it!

1. `cd react-auth-app-example && cd client`
2. `npm install`
3. `npm start`

### Server

This is the server with a GraphQL API.

> IMPORTANT NOTE
>
> The server app is not production-ready.

Run it!

1. `cd react-auth-app-example && cd server`
2. `npm install`
3. `npm start`

## Contributing

Do you know how to improve it? Feel free to contribute to this project.

## License

MIT.

## demo
![image](https://user-images.githubusercontent.com/15246526/37134367-157301f4-224d-11e8-8c98-c64ff0139f1e.png)