All Projects → app-generator → Nodejs Starter

app-generator / Nodejs Starter

Licence: mit
Nodejs Starter - Open-Source Javascript Boilerplate | AppSeed

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Nodejs Starter

Vue Electron Typescript Quickstart
A boilerplate of Electron app that uses Vue in TypeScript.
Stars: ✭ 22 (-74.42%)
Mutual labels:  starter, boilerplate
Niklick
Rails Versioned API solution template for hipsters! (Ruby, Ruby on Rails, REST API, GraphQL, Docker, RSpec, Devise, Postgress DB)
Stars: ✭ 39 (-54.65%)
Mutual labels:  starter, boilerplate
Next Boilerplate
A well-structured production ready Next.js boilerplate with Typescript, Redux, Jest, Enzyme, Express.js, Sass, Css, EnvConfig, Fetch, Reverse Proxy, Bundle Analyzer and Built-in Project CLI. https://pankod.github.io/next-boilerplate/
Stars: ✭ 936 (+988.37%)
Mutual labels:  starter, boilerplate
Lass
👧 Lass scaffolds a modern package boilerplate for Node.js
Stars: ✭ 615 (+615.12%)
Mutual labels:  starter, boilerplate
Readme Template
A Readme Template For Tomorrow's Opensource
Stars: ✭ 69 (-19.77%)
Mutual labels:  open-source, boilerplate
Laravel Boilerplate
Laravel Boilerplate / Starter Kit with Gentelella Admin Theme
Stars: ✭ 704 (+718.6%)
Mutual labels:  starter, boilerplate
Web Extension Starter
🖥🔋Web Extension starter to build "Write Once Run on Any Browser" extension
Stars: ✭ 987 (+1047.67%)
Mutual labels:  starter, boilerplate
React Native Navigation Redux Starter Kit
React Native Navigation(v2) Starter Kit with Redux, Saga, ESLint, Babel, Jest and Facebook SDK 😎
Stars: ✭ 271 (+215.12%)
Mutual labels:  starter, boilerplate
Koa React Notes Web
🤓 A simple SPA built using Koa (2.5.1) as the backend and React (16.4.1) as the frontend. Features MySQL integration, user authentication, CRUD note actions, and more.
Stars: ✭ 61 (-29.07%)
Mutual labels:  starter, boilerplate
Nestjs Monorepo Starter
A full-stack nestjs starter project. Includes authorization, authentication, MongoDB, Redis queue support, Crons jobs, and end-to-end testing.
Stars: ✭ 58 (-32.56%)
Mutual labels:  starter, boilerplate
Chrome Extension Typescript Starter
Chrome Extension TypeScript Starter
Stars: ✭ 601 (+598.84%)
Mutual labels:  starter, boilerplate
Fivem Rp Boilerplate
🔫 Boilerplate for FiveM Roleplay servers. Save time and focus on your real project.
Stars: ✭ 81 (-5.81%)
Mutual labels:  starter, boilerplate
Hartija Css Print Framework
Universal CSS for web printing
Stars: ✭ 509 (+491.86%)
Mutual labels:  starter, boilerplate
Node Express Boilerplate
A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose
Stars: ✭ 890 (+934.88%)
Mutual labels:  starter, boilerplate
Starter Laravel Angular
Laravel and AngularJS Starter Application Boilerplate featuring Laravel 5.3 and AngularJS 1.5.8
Stars: ✭ 373 (+333.72%)
Mutual labels:  starter, boilerplate
Suicrux
🚀 Ultimate universal starter with lazy-loading, SSR and i18n. [not maintained]
Stars: ✭ 958 (+1013.95%)
Mutual labels:  starter, boilerplate
Create React App Material Typescript Redux
A ready to use boilerplate for starting big react projects
Stars: ✭ 257 (+198.84%)
Mutual labels:  starter, boilerplate
Vue Electron Template
An Electron & Vue.js template with Hot-reloading enabled and common Vue plugins, dev, debug and build scripts configured.
Stars: ✭ 260 (+202.33%)
Mutual labels:  starter, boilerplate
Tris Webpack Boilerplate
A Webpack boilerplate for static websites that has all the necessary modern tools and optimizations built-in. Score a perfect 10/10 on performance.
Stars: ✭ 1,016 (+1081.4%)
Mutual labels:  starter, boilerplate
Slim3
Slim Framework 3 Skeleton Application
Stars: ✭ 70 (-18.6%)
Mutual labels:  starter, boilerplate

Nodejs Starter

Express / Nodejs Starter with JWT authentication, SQLite database, Sequelize ORM, unit tests and basic tooling - Provided by AppSeed Web App Generator.


Open-Source Nodejs Starter - Product cover image.


Requirements


Authentication

Authentication is based on json web tokens. passport-jwt strategy is used to handle the email / password authentication. After a successful login the generated token is sent to the requester.


API

Login: api/users/login

POST api/users/login
Host: localhost:3000
Content-Type: application/json

{
    "email": "[email protected]",
    "password": "demo"
}

Signup: /api/users/signup

POST api/users/signup
Host: localhost:3000
Content-Type: application/json

{
    "email": "[email protected]",
    "password": "demo",
    "name": "George",
    "surname": "Clooney"
}

Setting up for development

  • clone repo: git clone https://github.com/app-generator/nodejs-starter.git
  • change directory to nodejs-starter:
  • create a file named .env which should contain the following default setup:
SALT=35kj7waj3k5kja09jeoi21kn0pg13iuhlkn // used in password hashing
JWT_SECRET=secret        // used in JWT signing
SESSION_SECRET=secret    // used for session data
PORT=3000                // the port on which your server will be available on
SERVER_ADDRESS=127.0.0.1 // or 0.0.0.0 for all or other interface address you want to listen
  • users are saved in file config/users.js

Scripts

Install Modules

$ npm i
$ npm i nodemon -g 

Run

$ npm run start # classic start OR
$ npm run dev # with nodemon live update  

Runs the application with nodemon. Server is listening on Port 3000 by default. This can be overwritten by PORT constant in .env file.


Support

For issues and features request, use Github or access the support page provided by AppSeed


License

MIT @ AppSeed



Nodejs Starter provided by AppSeed

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].