GithubHelp home page GithubHelp logo

isabella232 / node-starter-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from textileio/node-starter

0.0 0.0 0.0 6.69 MB

Node project with the basic building blocks for a web app

License: MIT License

TypeScript 9.39% JavaScript 0.23% Shell 0.47% SCSS 87.89% Pug 2.03%

node-starter-1's Introduction

Textile + Node Starter Project

This is a simple shell of a project using Node.js, Express, and Pug. It was originally based on the TypeScript-Node-Starter project, then simplified, updated, and cleaned up a bit.

Setup

Install

npm install

Configure

You need to get OAuth app credentials for Twitter, Google, and GitHub.

Be sure when setting up each of these apps in the services that you set the correct callback url. For deveopment, those will be:

  • Twitter -- http://localhost:3000/auth/twitter/callback
  • GitHub -- http://localhost:3000/auth/github/callback
  • Google -- http://localhost:3000/auth/google/callback

Copy the template .env file found in .env.example to .env. NEVER SHARE OR PUBLISH THIS FILE.

cp .env.example .env

Replace each of the credentials for Twitter, Google, and GitHub that you setup above. If you prefer to remove any of these methods, you can remove them from the login options in views/partials/header.pug.

Build

npm run build

Watch

npm run watch

Start

npm run start

License

Copyright (c) Textile. All rights reserved. Licensed under the MIT License.

node-starter-1's People

Contributors

dependabot-preview[bot] avatar asutula avatar andrewxhill 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.