Code Monkey home page Code Monkey logo

notestakingapp's Introduction

NotesTakingApp

An app that allows a user to perform basic note taking operations using Node.js with certain authentications

Once you have cloned this repo

  • open the package.json file to check all the dependencies
  • open the terminal and download all the dependencies using the following command:
 npm install dependencies 

Examples of dependencies:

nodemon
express
bcrypt
mongoose

create a ".env" file in the root folder and set the following:


1. PORT=4000
2. TOKEN_KEY='your desired token key'
3. USER='yourenailaddress'
4. PASS='youremailpassword'

After all this are in place, then run the app using either of these commands

nodemon index 
node index.js

The api route used can be found in the index.js file Which is

api/v1/notesapp

The other respective routes are added to it from the routes/user.js

notestakingapp's People

Contributors

mayorfresh avatar

Stargazers

 avatar

Watchers

 avatar

notestakingapp's Issues

verifyuser endpoint to change to Active

After a user has been created successfully, an automated generated sequence is assigned to the confirmationCode in the database.

but when I ran the GET endpoint for verifyuser, it doesn't change the value in the database

Sending Confirmation Email

the code block for the confirmation email is working fine but there's a difficulty in actually sending the mail.

Unable to hash the new password to the database

When resetpass endpoint is initiated whereby is takes input of the new password, the raw data of the password is saved directly to the database which is not proper and it doesn’t not login.

I tried hashing the password but it’s not working

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.