-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Timesheet App | ||
|
||
The Timesheet App is a web application that allows employees to record their work shifts. The app is built using the following technologies: | ||
|
||
- Front-end: HTML, CSS, JavaScript, and EJS | ||
- Back-end: Node.js, Express.js, JWT, Bcrypt, and MongoDB | ||
|
||
The main features of the app include: | ||
|
||
- User registration: Employees can create an account by providing their SIN number, name, email, password, and phone number. | ||
- Login: Employees can log in to their account using their email and password. | ||
- Punch in: Employees can start their work shift | ||
- Break in: Employees can take a break | ||
- Break out: Employees can end their break | ||
- Time out: Employees can end their work shift | ||
- Calculation: The app calculates the total hours worked and stores the data in a MongoDB database | ||
|
||
## Getting Started | ||
|
||
### Prerequisites | ||
|
||
What things you need to install the software and how to install them | ||
|
||
- Node.js | ||
- MongoDB | ||
|
||
### Installing | ||
|
||
1. Clone the repository: | ||
|
||
``` | ||
git clone https://github.com/your-username/timesheet-app.git | ||
``` | ||
|
||
2. Install the dependencies | ||
|
||
``` | ||
cd timesheet-app | ||
npm install | ||
``` | ||
|
||
3. Create a `.env` file in the root directory of the project and add the following environment variables: | ||
|
||
``` | ||
MONGODB_URI=<your-mongodb-connection-string> | ||
SECRET_KEY=<your-secret-key> | ||
``` | ||
|
||
4. Start the application | ||
|
||
## Built With: | ||
|
||
- Node.js - JavaScript runtime | ||
- Express.js - Web framework | ||
- EJS - Embedded JavaScript templates | ||
- MongoDB - NoSQL database | ||
- JWT - JSON Web Tokens | ||
- Bcrypt - Password hashing library | ||
|
||
## Authors | ||
|
||
- [Henrique Sagara](https://htsagara.github.io/henrique-sagara/) - **Backend developer** | ||
- [Evrim Çifçi](https://evrimciftciportfolio.com/) - **Frontend developer** | ||
- [Lucas Berna](https://github.com/lucasbernardo842) - **Frontend developer** |