Developed to provide healthcare administrators with a user-friendly application that assists with tracking employee demographics, such as full-name, date of birth and employment status. The user will be able to search, update, edit and delete employee records.
Client: HTML, CSS, JavaScript
Server: (maybe) Express, Axios, Node
API Reference
const employeeSchema = new Schema({
first_name: {
type: String,
required: true
},
last_name: {
type: String,
required: true
},
email: {
type: String,
required: true,
unique: false,
},
birthday: {
type: String,
required: true,
maxlength: 10
},
gender: {
type: String,
required: true,
},
status: {
type: Boolean,
required: true,
}
})
const userSchema = new Schema({
name: {
type: String,
required: true
},
email: {
type: String,
required: true,
unique: true
},
password: {
type: String,
required: true,
minlength: 6
}
})
Route | Method | Action | Description |
---|---|---|---|
/ |
Get |
Read |
Lists all employees within the database |
/newEmployee |
Post |
Create |
Adds a new employee to the database |
/updateEmployee/:id |
Patch |
Update |
Update existing employees information |
/deleteEmployee/:id |
Delete |
Delete |
Deletes individual employee from database |
Route | Method | Action | Description |
---|---|---|---|
/ |
Get |
Read |
Lists all Users within the database |
/signup |
Post |
Create |
Adds new User to the database |
/login |
Post |
Read |
User Authentication; allows administrator to have full CRUD capabilities |
Clone the project
git clone https://www.google.com](https://github.com/Joynana5/StreamLine.git
Go to the project directory
cd my-project
Install dependencies
npm install
Start the server
npm run start
- Employee Database
- User Database
- Full CRUD Capabilities
- front end application
- User authentication
- Leave tracker