Giter Site home page Giter Site logo

test-backend's Introduction

MERN TEMPLATE WITH AUTH0

MongoDB, Express, React, and Node.JS (MERN) Template with Auth0 React SDK for User Authentication.

How to Use the Template

To start using this template, click on the green "Use this template" button on the GitHub repository. Afterwards, set up your new repository by giving it a name, description and type (Public or Private).

Once you have created your repository, there are a couple of things that you will have to change before you can start using it:

  1. Edit the ~/package.json file to match your project. You can change the following fields:
    • name
    • description
    • repository.url
    • author
    • license (optional)
    • bugs.url
    • homepage
  2. Edit line 30 on ~/server.js file to match your database name.
    • Change the your-database part in mongodb://localhost/your-database to match your own database name
  3. Edit line 9 on ~/scripts/seedDB.js to match the same database name that you used for step 2.
  4. Add your own credentials to the ~/client/src/auth_config.json file.
    • Replace "YOUR_DOMAIN" on line 2 with your Auth0 app domain
    • Replace "YOUR_CLIENT_ID" on line 3 with your Auth0 app client ID

After completing the steps above, the Template starts to work as intended and can be expanded.

test-backend's People

Contributors

kerimhelal avatar

Watchers

 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.