Giter Club home page Giter Club logo

amingomezd / nextjs-mongodb-mui-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 2.0 757 KB

An Next.js and Mongoose web application with Material UI as the design system, designed as an starting point of any web application

Home Page: https://next-js-mongo-db-mui-boilerplate.vercel.app

License: MIT License

JavaScript 99.69% CSS 0.10% HTML 0.20%
material-ui mongodb muiv5 nextjs react storybook boilerplate material-ui-5 material-ui-react mongoose

nextjs-mongodb-mui-boilerplate's Introduction

Next.js, Mongo(Mongoose) and Material UI Starter Boilerplate

A Next.js and Mongoose web application with Material UI as the design system WITH MINIMUM CUSTOM CSS, just bare-bones MUI with default theme and colors palette, designed as a starting point of any web application. All pages and components has stories with storybook v7.

Demo

https://next-js-mongo-db-mui-boilerplate.vercel.app/

Acknowledgements

This project was based in hoangvvo Next.js MongoDB boilerplate

Features

  • MVC Architecture
  • Automatic dark/light mode
  • Clean Material UI v5 implementation ๐Ÿ’…
  • Full API Routes implementation and Serverless ready
  • Middleware pattern, compatible with Express ecosystem, powered by next-connect

Tech Stack

Client: React 18, Next.js 13, Material UI 5

Server: Next.js 13, Node, Mongoose 7

Development: Storybook 7, Mongodb Memory Server, Jest, Prettier

Authentication and Account

  • Session-based authentication (Passport.js)
  • Sign up/Log in/Sign out API
  • Authentication via email/password
  • Email verification
  • Password change
  • Password reset via email
  • Profile
  • Profile picture, username, name, bio, email
  • Update user profile

Profile

  • Profile picture, username, name, bio, email
  • Update user profile

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

CLOUDINARY_URL (optional, Cloudinary only) Cloudinary environment variable for configuration

MONGODB_URI (Required) The MongoDB Connection String (with credentials and database name)

WEB_URI(Required) The URL of your web app

NODEMAILER_CONFIG (Required) JSON stringified nodemailer config. eg: {"service":"Gmail","auth":{"user":"[email protected]","pass":"aHR0cHM6Ly95b3V0dS5iZS9kUXc0dzlXZ1hjUQ=="}}

Development

  • Start the development server by running yarn dev. Getting started by create a .env.local file with the above variables. See Environment Variables.
  • Start Storybook with yarn storybook

Contributing

Contributions are always welcome!

See contributing.md for ways to get started. You can create pull request to this project and be a contributor.

License

MIT

nextjs-mongodb-mui-boilerplate's People

Contributors

amingomezd avatar danielmateoslab avatar dependabot-preview[bot] avatar hoangvvo avatar itaiaxelrad avatar mobihack avatar sabarasaba avatar timmee avatar victorfu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.