Giter Club home page Giter Club logo

with-nextjs-graphql-mongodb's Introduction

Next.js, GraphQL, Apollo and MongoDB

Full stack application with Website, Dashboard and Backoffice.

Features:

  • Connection to MongoDB
  • Apollo and GraphQL queries, mutations, resolvers
  • Authentication with Passport and Express Session
  • Form validation with Formik
  • Setup loaders in Webpack
  • Setup dynamic and custom routes in Next.js
  • Setup Semantic UI React as UI framework
  • Setup ESLint, StyleLint, Prettier
  • Setup Husky for pre-commit
  • more coming soon ...

๐Ÿง˜ Quick Start

  1. Install and switch to the correct version of Node using NVM

    nvm install
  2. Install dependencies

    yarn install
  3. Start the development server

    yarn dev

๐Ÿง What's inside?

A quick look at the top-level files and directories in this project.

โ”œโ”€โ”€ node_modules
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ .prettierrc
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ yarn.lock
  1. /node_modules: The directory where all of the modules of code that your project depends on (npm packages) are automatically installed.

  2. .gitignore: This file tells git which files it should not track / not maintain a version history for.

  3. .prettierrc: This is a configuration file for a tool called Prettier, which is a tool to help keep the formatting of your code consistent.

  4. LICENSE: Next.js is licensed under the MIT license.

  5. README.md: A text file containing useful reference information about your project.

  6. yarn.lock: Yarn is a package manager alternative to npm. You can use either yarn or npm, though all of the Gatsby docs reference npm. This file serves essentially the same purpose as package-lock.json, just for a different package management system.

๐Ÿš€ Building and Running for Production

In addition to the development server started with yarn start, you can also generate a full static production build and serve that to preview the site as it will appear once deployed:

yarn build
yarn start
or
yarn start:dev

with-nextjs-graphql-mongodb's People

Contributors

pedromagalhaes avatar dependabot[bot] 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.