GithubHelp home page GithubHelp logo

healthbuk_user_api's Introduction

healthbuk_user_api

a basic user processing api, with minimal features

How to install and use

Install node if you dont have it already installed, go to Node installation documentation

Clone the repo or download the repo

Build Setup

make sure you are in the project directory Note it is assumed mysql server is installed and running

install dependencies

run npm install command

serve with hot reload at localhost:9000

run npm run dev command

using the api

the api has been tested using just postman

register endpoint

go to endpoint http://localhost:9000/register to create an account, passing to the body json file email, name, password and age

login endpoint

go to endpoint http://localhost:9000/login to login into the created account, passing to the body json file email and password

profile endpoint

go to endpoint http://localhost:9000/profile after login pass the jwt recieved to this endpoint as a bearer token

profile endpoint result

this endpoint render a template view in the form of a dashboard, disolaying the name and email of the authenticated user, the view can be viewed using postman # preview feature

Thanks .............

healthbuk_user_api's People

Contributors

allaye avatar

Stargazers

 avatar  avatar

Watchers

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