Actualizar README.md

This commit is contained in:
2025-08-14 08:29:25 -03:00
parent 8d23c74bce
commit 60e2b52981

View File

@@ -9,60 +9,41 @@
<br />
# What is this template?
# Que es esta plantilla?
This template allows you to quick-start your Fullstack application using the MERN stack, it has a server setup with some basic authentication, and a client ready to communicate with the backend.
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 />
# How to use this template
# Como uso esta plantilla?
### 2. Instalar Dependencias
### 1. Generate repository from template:
Click ["Use this template"](https://github.com/benelferink/mern-template/generate) to generate a
new repo, then open your terminal and clone your new repo.
```
git clone https://github.com/[your_user_name]/[your_repo_name].git
```
### 2. Install dependencies:
Go to the `server` folder, and run `install`.
#### 1
```
cd ./server
npm i
bun install
```
#### 2
Go to the `client` folder, and run `install`.
```
cd ./client
npm i
bun install
```
### 3. Prepare MongoDB:
### 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. Start applications:
### 4. Iniciar Aplicaciones
Go to the `server` folder, and run `dev`.
```
cd ./server
npm run dev
```bash
make
```
Go to the `client` folder, and run `dev`.
```
cd ./client
npm run dev
```
### 5. Happy Coding !!!
### 5. Happy Coding !!1!!!!