Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cuongndc9/mern-stack
🗡️🍣 Getting Started with MERN Stack.
https://github.com/cuongndc9/mern-stack
103cuong expressjs mern mern-crud mern-project mern-stack mongodb nodejs reactjs
Last synced: about 1 month ago
JSON representation
🗡️🍣 Getting Started with MERN Stack.
- Host: GitHub
- URL: https://github.com/cuongndc9/mern-stack
- Owner: cuongndc9
- License: mit
- Created: 2019-02-16T17:20:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-05T01:03:40.000Z (over 4 years ago)
- Last Synced: 2024-10-23T23:15:43.949Z (about 2 months ago)
- Topics: 103cuong, expressjs, mern, mern-crud, mern-project, mern-stack, mongodb, nodejs, reactjs
- Language: JavaScript
- Homepage:
- Size: 336 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mern-stack
> 🗡️🍣 Getting Started with MERN Stack.
## Install
Install dependencies
```
$ npm install && npm run client-install
```
Create `.env` file
```
MONGODB_URI=
```## Usage
Run `server` only
```
$ npm start
```
Run `client` only
```
$ npm run client
```
Run `client` & `server`
```
$ npm run dev
```## API
| Route | HTTP method | Description |
|------------------|-------------|-----------------------------|
| /api/cats | `GET` | Get all the cats. |
| /api/cats | `POST` | Create a cat. |
| /api/cats/:catId | `GET` | Get a single cat. |
| /api/cats/:catId | `PUT` | Update a cat with new info. |
| /api/cats/:catId | `DELETE` | Delete a cat. |## License
![License](https://img.shields.io/github/license/cuongw/mern-stack-starter.svg?style=flat-square)