Skip to content

arnold-iakab/universal-mern

Repository files navigation

universal-mern

Description

Feeling overwhelmed by other complex boilerplates and desiring to understand how things work, I combined various implementations and created a personal boilerplate for a Universal React application based on the MERN ( MongoDB, Express, React, Node ) stack. The project also integrates Redux, Redux-Saga and JWT (Json Web Token ) authentication and has hot-reload functionality.

Prerequisites

  • Node.js
  • MongoDB

Quick-start

  1. Run npm install
  2. Edit the config.js file found in src/server/ by adding your own secret and database connection strings like this:
module.exports = {
  'secret' : 'mysecret',
  'database' : 'mongodb://localhost/myConnection'
 };
  1. Start mongodb server
  2. Run npm start
  3. Open a browser and navigate to http://localhost:3000/api/setup
  4. Navigate to http://localhost:3000/. You can log in using myuser and password

Acknowledgments

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published