Coder Social home page Coder Social logo

kristin-larsson / project-auth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from josefineengdahl/project-auth

0.0 0.0 0.0 493 KB

Built an API in backend with authentication using access token and securly save passwords in a database. Created a frontend with form where users can register, sign in and only then see restricted content.

Home Page: https://project-auth-kristin-josefine.netlify.app

JavaScript 93.90% CSS 2.33% HTML 3.57% Procfile 0.20%
authentication express-api token

project-auth's Introduction

Project Auth API

This project's goal was to build an API with authentication using access token and securly save passwords in a database. We also create a frontend with form where users can register, sign in and only then see restricted content.

The problem

The backend was made with Express API using mongoose and MongoDB for our user database. Our main endpoints are:

A POST endpoint to create new user. https://project-auth-kristin-josefine.netlify.app/register

A POST endpoint for existing users to sign in. https://project-auth-kristin-josefine.netlify.app/login

A GET endpoint that is restricted with authentication middleware so it is only accessible with a valid access token that we receive from the database. https://project-auth-kristin-josefine.netlify.app/thoughts

View it live

Fontend: https://project-auth-kristin-josefine.netlify.app

Backend: https://project-auth-3adyn7z7ja-uc.a.run.app

project-auth's People

Contributors

emolsz avatar dmnich 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.