Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/aarnadlr/react-serverless-mongodb

Create-react-app + Now serverless functions + MongoDB Atlas
https://github.com/aarnadlr/react-serverless-mongodb

create-react-app mongodb node now react serverless zeit

Last synced: 17 days ago
JSON representation

Create-react-app + Now serverless functions + MongoDB Atlas

Awesome Lists containing this project

README

        

# Create-react-app + Now serverless fns + MongoDB Atlas

This is a starter consisting of :
- Create react-App CLI
- MongoDB Atlas
- Zeit Now serverless functions

React makes fetch requests to serverless fns in the `/api` folder; the serverless fns query the MongoDB store.

To run local development:

```shell
$ now dev
```

⚠ Important: In local dev, use `http://localhost:3000/`. If a strange URL appears in your browser like `http://localhost:65253/`, open up :3000 and work with that port instead.

## Deploying this Example

Deploy the app with a single command:

```shell
$ now
```