generated from fede/mern-template
49 lines
1.1 KiB
Markdown
49 lines
1.1 KiB
Markdown
# MERN Stack Template
|
|
|
|
<img src='https://raw.githubusercontent.com/BenElferink/mern-template/refs/heads/images/images/mern.jpeg' />
|
|
|
|
- **M** = [MongoDB](https://www.mongodb.com)
|
|
- **E** = [Express.js](https://expressjs.com)
|
|
- **R** = [React.js](https://reactjs.org)
|
|
- **N** = [Node.js](https://nodejs.org)
|
|
|
|
<br />
|
|
|
|
# Que es esta plantilla?
|
|
|
|
Esta plantilla permite iniciar un proyecto usando el stack MERN, viene incluido con algunas funcionalidades de auth basicas y un cliente con vite
|
|
|
|
<img src='https://raw.githubusercontent.com/BenElferink/mern-template/refs/heads/images/images/preview.png' />
|
|
|
|
<br />
|
|
|
|
# Como uso esta plantilla?
|
|
### 2. Instalar Dependencias
|
|
|
|
#### 1
|
|
|
|
```
|
|
cd ./server
|
|
bun install
|
|
```
|
|
|
|
#### 2
|
|
|
|
```
|
|
cd ./client
|
|
bun install
|
|
```
|
|
|
|
### 3. MongoDB:
|
|
|
|
Prepare your MongoDB database (using [Atlas](https://www.mongodb.com/cloud/atlas),
|
|
or [Community](<https://github.com/benelferink/mern-template/wiki/Install-MongoDB-Community-Server-(MacOS)>)). Then configure your database within `server/src/constants/index.js` (or `server/src/.env`), by configuring the `MONGO_URI` variable.
|
|
|
|
### 4. Iniciar Aplicaciones
|
|
|
|
```bash
|
|
make
|
|
```
|
|
|
|
### 5. Happy Coding !!1!!!!
|