This is a MERN project created using:
- Nodejs and Express
- React with NextJS for Server-Side Rendering
- React Redux
- Mongodb with Mongoose
- Passportjs
- React Boostrap
- Styled Components
It's a app where you can:
- Find profesionals listed by categories (profesion, speciality, themes)
- See listed profesionals on googlemaps
- Read articles
- Register with email
- Add, remove, edit users
- Add, remove, edit rich text articles, with editor included
A working version of the project can be seen at:
https://redprimerainfancia.com/
- Clone this repo
- Run
npm install
- Add a
.env
file on the root of the project with the next variables:
MONGO_URI=<your_mongo_uri>
# Passport
SESSION_KEY=<your_session_key>
JWT_SECRET=<your_jwt_secret>
# Port
PORT=3000
#
TINY_API_KEY=<your_tiny_api_key>
#Server
DEV_SERVER=http://localhost:3000
PROD_SERVER=<your_prod_server>
DOMAIN_URL=<your_domain_url>
#Imgur
IMGUR_CLIENT=<your_imgur_client>
IMGUR_API_URL=<your_imgur_api_url>
IMGUR_SECRET=<your_imgur_secret>
#Google Maps
GOOGLE_MAPS_API_KEY=<your_google_maps_api_key>
- Run
npm run dev
to start the web server. This will open the landing page
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for development to the src/.next
folder.
Builds the app for production to the src/.next
folder.
Runs the app for production mode.
The proyect must have been build before