GithubHelp home page GithubHelp logo

fazt / nodejs-notes-app Goto Github PK

View Code? Open in Web Editor NEW
259.0 14.0 191.0 864 KB

A web app to manage notes using Nodejs, and Mongodb as database, plus authentication with passportjs

JavaScript 47.22% CSS 0.44% Dockerfile 0.59% Handlebars 51.74%
nodejs mongodb express javascript bootstrap5 mongoose passportjs handlebars

nodejs-notes-app's Introduction

Notes App NodeMongo

This is a basic Web application to manage simple Notes on the web using Javascript Technologies like Nodejs, Mongodb, and other related technologies. Tecnically this is a Multi-Page Application using Handlebars as template engine.

This app can do:

  • CRUD Operations: create/read/update/delete Notes
  • Allows a user to do login and save his personal notes

Installation

git clone https://github.com/FaztTech/nodejs-notes-app
cd nodejs-notes-app
npm i
npm run dev # run in development mode
npm start # run in production mode

You need to have Mongodb installed Locally or stablish a MONGODB_URI environment variable in order to connect to any mongodb instance (using Mongodb Atlas for example)

Environment Variables

This app needs the following environment Variables

  • MONGODB_URI this is the Mongodb URI string
  • PORT the server http port for the application
  • NODE_ENV node environment

docker-compose

The most easy way to install the entire project is using docker-compose:

git clone https://github.com/FaztTech/nodejs-notes-app
cd nodejs-notes-app
docker-compose up

Default User

when the app is lauched, this will create an Admin user with the following credentials:

  • email: admin@localhost
  • password: adminpassword

Tutorial

This app was created with educational purposes, so you can found the tutorials in the following links:

nodejs-notes-app's People

Contributors

baxy5 avatar fazt avatar jonasbfranco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nodejs-notes-app's Issues

Missing credentials - passport.js

Tengo este problema, en la seccion "signin" no me responde, intente colocando usuario y contraseña correcto, usuario que no existe o contraseña incorrecta, en todos los casos recibo el mismo error. Aparece este mensaje

Lleve al pie de la letra la documentacion.

image

Problema con Handlerbars

Hola fatz revisando tu video (https://www.youtube.com/watch?v=-bI0diefasA&t=2273s) y realizando seguimiento, se presenta problemas con handlerbars, cada que intento verificar las notas existentes por consola sale, el siguiente mensaje::

Handlebars: Access has been denied to resolve the property "description" because it is not an "own property" of its parent.
You can add a runtime option to disable the check or this warning:
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details

Descargue su código para verificar las lineas programadas pero no encuentro diferencias !

Captura de Pantalla 2020-01-14 a la(s) 11 17 29 a  m

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.