Skip to content

Chakyiu/express-api-mysql

Repository files navigation

Introduction

A simple clinic application that allows doctors to create consulation records by using express + MySQL.

Implementation

clone the entire project. Then run the following command:

### run in terminal
docker-compose up --build

### run in background
docker-compose up --d

Unit Test

1.0 Create new Clinic account Demo_Img_1_0

1.1 Create with repeated email Demo_Img_1_1

1.2 Create with missing feild Demo_Img_1_2

2.0 Login with correct email and password Demo_Img_2_0

2.1 Login with incorrect password Demo_Img_2_1

2.2 Login with non-existed email Demo_Img_2_2

3.0 Login with Bearer Authentication Demo_Img_3_0

3.1 Login without Bearer Authentication Demo_Img_3_1

3.2 Login with incorrect Bearer Authentication Demo_Img_3_2

4.0 Search Record with from, to, limit and offset varible with Bearer Authentication Demo_Img_4_0

4.1 Search Record with from, to, limit and offset varible with incorrect Bearer Authentication Demo_Img_4_1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors