Skip to content

kaiferrall/Web-App-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Web Application Template


Purpose

  • To avoid redoing all the tedious features of a standard web application.
  • To be as generally applicable as possible while still having meaningful features.

Features (backend)

  • A RESTFUL JSON api.
  • MongoDB database.
  • api is secured with JSON Webtokens.
  • A base user database model with hashed passwords and email verification functionality.
  • Password hashing/reseting via email.
  • User database caching with Redis (can easily be disabled).
  • and more ...

Features (client)

  • A react application with full login and user registration functionality.
  • Redux for application wide authentication state via the api.
  • Generic component loading for an interactive and native feel to the application.
  • and more ...

Get Started


Development

  • clone repository
  • npm install in app/ and app/client
  • add a config/keys.js in app/
  • to connect database set databaseURI field in config/keys.js
  • if using redis add redis port in the userCache.js
  • run npm start in app/client and node server.js in app/

About

A boilerplate MERN stack web application with jwt api and frontend authentication, email verification, base user document and redis caching (can be turned off).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages