From eb6031e92768ce65d8a65655ea2e317adc7c0c06 Mon Sep 17 00:00:00 2001 From: Henrique Date: Sat, 27 Apr 2024 17:18:51 -0400 Subject: [PATCH] documentation --- readme.md | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..a3314f8 --- /dev/null +++ b/readme.md @@ -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= +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**