Coder Social home page Coder Social logo

adrianponce89 / red-pri-api Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 6.97 MB

SSR MERN project created with NextJS and Express

Home Page: https://www.redprimerainfancia.com/

JavaScript 100.00%
reactjs nextjs expressjs mongodb moongoose nodejs passportjs react-bootstrap styled-components google-maps tinymce multer imgur react-redux

red-pri-api's Introduction

red-pri-api

This is a MERN project created using:

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/

Example_Image_1 Example_Image_2 Example_Image_3 Example_Image_4 Example_Image_4

How to run this project locally

  • 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

Available Scripts

In the project directory, you can run:

npm run dev

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.

npm run next

Builds the app for development to the src/.next folder.

npm run build

Builds the app for production to the src/.next folder.

npm start

Runs the app for production mode.
The proyect must have been build before

red-pri-api's People

Contributors

adrianponce89 avatar dependabot[bot] avatar diolink avatar rodriblanca avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.