Skip to content

added login and signup ejs files #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 78 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
fa30c56
added login and signup ejs files
Alexmathai2001 Nov 9, 2023
880b791
added home and delete contact ejs files
mrafeeq805 Nov 9, 2023
705d71e
added logoutpopup.ejs
mrafeeq805 Nov 9, 2023
6e367c4
Update README.md
Alexmathai2001 Nov 10, 2023
86eec54
Update README.md
Alexmathai2001 Nov 10, 2023
e4bc0fd
Merge branch 'master' of https://github.com/Alexmathai2001/stackup-te…
Alexmathai2001 Nov 10, 2023
2120692
readme file updated
Alexmathai2001 Nov 10, 2023
5236845
Merge branch 'master' of https://github.com/Alexmathai2001/stackup-te…
Alexmathai2001 Nov 10, 2023
9b182dd
Merge branch 'stackup_alex'
Alexmathai2001 Nov 10, 2023
fbe2882
added more content to readme file
Alexmathai2001 Nov 10, 2023
7b68e87
Merge branch 'stackup_alex'
Alexmathai2001 Nov 10, 2023
8f46f81
readme changed
mrafeeq805 Nov 10, 2023
67d9242
Merge branch 'master' of https://github.com/Alexmathai2001/stackup-te…
mrafeeq805 Nov 10, 2023
88b91d3
Merge branch 'stackup-rafeeq'
mrafeeq805 Nov 10, 2023
02f56a2
Delete Wecontact/public/ProductSans-Regular.ttf
Alexmathai2001 Nov 10, 2023
3a75252
Delete Wecontact/public/styles directory
Alexmathai2001 Nov 10, 2023
6711b4d
Delete Wecontact/public/javascript directory
Alexmathai2001 Nov 10, 2023
b88b78e
Delete Wecontact/.gitignore
Alexmathai2001 Nov 10, 2023
5bd773e
Delete Wecontact/public/images directory
Alexmathai2001 Nov 10, 2023
3945599
added otprequest ejs file
Alexmathai2001 Nov 10, 2023
74242b3
Merge branch 'stackup_alex'
Alexmathai2001 Nov 10, 2023
e93119c
Delete Wecontact/public directory
Nov 10, 2023
0594d43
logout popup admin ejs file added
mrafeeq805 Nov 10, 2023
4ef6c61
added otp validation page and passwordreset ejs files
Alexmathai2001 Nov 10, 2023
9b9d055
Merge branch 'stackup_alex'
Alexmathai2001 Nov 10, 2023
933f597
added user.js file in models
Alexmathai2001 Nov 10, 2023
a1648cb
Merge branch 'stackup_alex'
Alexmathai2001 Nov 10, 2023
b2b17b1
added logoutpopupadmin.ejs file
mrafeeq805 Nov 10, 2023
e4766fc
Merge branch 'master' of https://github.com/Alexmathai2001/stackup-te…
mrafeeq805 Nov 10, 2023
0bd8f60
Merge branch 'stackup-rafeeq'
mrafeeq805 Nov 10, 2023
4b2d631
edited readme file
Alexmathai2001 Nov 10, 2023
b8032d1
edited readme file
Alexmathai2001 Nov 10, 2023
8ee3dad
Merge branch 'master' of https://github.com/Alexmathai2001/stackup-te…
Alexmathai2001 Nov 10, 2023
ad0d4cc
Merge branch 'stackup_alex'
Alexmathai2001 Nov 10, 2023
194f532
contactModel.js added
mrafeeq805 Nov 10, 2023
0d5872a
Merge branch 'stackup-rafeeq'
mrafeeq805 Nov 10, 2023
5ac98cc
added index.js file
Alexmathai2001 Nov 10, 2023
1cd4c41
added 2 node json files
Alexmathai2001 Nov 10, 2023
c71207b
static images added in public folder
mrafeeq805 Nov 10, 2023
f22a367
added tailwind config files
Alexmathai2001 Nov 10, 2023
8964df2
Merge branch 'stackup-rafeeq' of https://github.com/Alexmathai2001/st…
mrafeeq805 Nov 10, 2023
f089fd1
Merge branch 'stackup_alex'
Alexmathai2001 Nov 10, 2023
45b6cc2
Merge branch 'master' of https://github.com/Alexmathai2001/stackup-te…
mrafeeq805 Nov 10, 2023
6b55af2
script.js added as front end js
mrafeeq805 Nov 10, 2023
b9d829f
Merge branch 'stackup-rafeeq'
mrafeeq805 Nov 10, 2023
3fbbaa7
added tailwind css in public folder
mrafeeq805 Nov 10, 2023
5301830
Merge branch 'stackup-rafeeq' of https://github.com/Alexmathai2001/st…
mrafeeq805 Nov 10, 2023
7280708
Add files via upload
shibilmuhammad Nov 10, 2023
cf94478
Add files via upload
shibilmuhammad Nov 10, 2023
3af2314
Update package.json
Nov 10, 2023
ddaa5dc
Update package.json
Nov 10, 2023
b984f10
Add files via upload
shibilmuhammad Nov 10, 2023
6ffa9c8
Update package.json
Nov 10, 2023
0268138
added login signup and edit contact ejs files
Alexmathai2001 Nov 10, 2023
3bfde00
Add files via upload
Alexmathai2001 Nov 10, 2023
8222e88
Update README.md
Alexmathai2001 Nov 10, 2023
3b67e18
Update README.md
Nov 10, 2023
bf388f2
Add files via upload
Nov 10, 2023
d249bf4
Update README.md
Nov 10, 2023
87dffde
Update README.md to insert video link
Alexmathai2001 Nov 10, 2023
0655da7
Update README.md
Nov 10, 2023
bc09c4d
Update README.md
Nov 10, 2023
2f656b7
Update README.md
Nov 10, 2023
eba464e
Update README.md
Nov 10, 2023
cc3cd91
Create .gitignore
Nov 11, 2023
c327e74
Update package.json
Nov 11, 2023
5230a47
Update package.json
Nov 11, 2023
71c2325
Update home.ejs
Nov 11, 2023
464245a
Update logoutpopup.ejs
Nov 11, 2023
24cf06b
Update deletepopup.ejs
Nov 11, 2023
7a618af
Update editcontact.ejs
Nov 11, 2023
daf8b65
Update admin.ejs
Nov 11, 2023
462ad85
Update admin.js
Nov 11, 2023
48e48cd
Update index.js
Nov 11, 2023
9f0d6b7
Update script.js
Nov 11, 2023
385aa1e
Update addcontact.ejs
Nov 11, 2023
0d36e73
Update script.js
Nov 11, 2023
26fb29d
added creditials to admin module
Alexmathai2001 Nov 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 75 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,81 @@
![StackUp Banner]([https://tinkerhub.frappe.cloud/files/stackup%20banner.jpeg])
# Project Name
Long Description about project. This project do that. This project is awesome...
![StackUp Banner](https://tinkerhub.frappe.cloud/files/stackup%20banner.jpeg)
# Wecontact
"weContact" distinguishes itself as an innovative, relevant, and user-friendly initiative intricately designed to simplify contact management for every user. Featuring an uncomplicated interface coupled with robust features, weContact seamlessly facilitates storing, editing, categorizing, searching, sorting, and deleting user contacts—all with just a few clicks.

An additional highlight of "weContact" is its unwavering commitment to user data security. The project incorporates a secure login and signup process, ensuring that only authorized users gain access to their personalized home pages. This stringent authentication protocol effectively prevents unauthorized access and fortifies user information against potential third-party intrusion.

Moreover, prioritizing data privacy, "weContact" has implemented rigorous measures to keep user contacts confidential and shielded from external entities. The handling of sensitive information, including user passwords, is executed with utmost care, with passwords stored in the database only after being hashed—an unreadable format for potential intruders, even administrators without access to these details.

Taking security a step further, the project employs salting, adding random characters to passwords before hashing. This additional layer of protection virtually precludes hackers from deciphering passwords, significantly enhancing overall security. During the login process, password comparison using the same hashing technique ensures that access to the home page is granted only to authorized users.

To enhance user-friendliness, a 'forgot password' section has been incorporated, allowing users to reset their passwords by receiving an OTP to their registered email in case of forgotten credentials.

The project includes robust validation measures. In the login/signup sections, invalid email syntax is promptly flagged as an error. Passwords are required to meet specific criteria, ensuring strength—having at least one uppercase letter, one lowercase letter, one digit, one special character, and a minimum length of 8 characters.

On the home page, to prevent duplicate contact cards, the program verifies new contact details against the database, generating a new card only if no duplicate details exist. This approach minimizes confusion and reduces space complexity.

In the "weContact" project, we leverage MongoDB as our database, Node and Express for our backend, and EJS view engine and Tailwind for frontend development—robust and stable platforms.

## Team members
1. Name [Embed personal github URL]
2. Name [Embed perosnal github URL]
1. Alex Mathai [https://github.com/Alexmathai2001]
2. Muhammed Rafeeq K [https://github.com/mrafeeqvr805]
3. Shibil Muhammad [https://github.com/shibilmuhammad]
4. Athul N V [https://github.com/athuldfd]
## Team Id
Team id here
secure3
## Link to product walkthrough
[link to video]
[link to video]- https://drive.google.com/file/d/103jatAgzfqjqPcEvfnGha1obL9RJEgZK/view?usp=sharing
## How it Works ?
1. Explaining the working of project
2. Embed video of project demo
## Libraries used
Library Name - Version
1. Signup with your Name,Email and a strong password.

![signup](https://github.com/Alexmathai2001/stackup-teamplate/blob/master/tests/signup.png)

2. Login to your account by using registered account details. you can reset your
password by clicking on forgot password option.

![login](https://github.com/Alexmathai2001/stackup-teamplate/blob/master/tests/login.png)

3. Now You can access home page on successful login. there will be empty on new user interface.
you can add contacts, search existing contacts and filter existing contacts by using
contact type like friend,family etc...

![home](https://github.com/Alexmathai2001/stackup-teamplate/blob/master/tests/home.png)

4. Add contact section need Contac name,phone number,place,email and type. you can't leave fields empty while
submitting add form.

![login](https://github.com/Alexmathai2001/stackup-teamplate/blob/master/tests/addcontact.png)

5. You can edit existing contact details by using edit option from each contact card.

![login](https://github.com/Alexmathai2001/stackup-teamplate/blob/master/tests/editcontact.png)

6. You can able to logout from this account by pressing logout button in header.

![login](https://github.com/Alexmathai2001/stackup-teamplate/blob/master/tests/logout.png)

7. Admin page. admins can view users details with username and email id. there is an option
to sort and search users. and admin can delete user. it will remove user data and all contacts which added
by the specific user.

Admin mail id : [email protected]
password : Admin@123

![login](https://github.com/Alexmathai2001/stackup-teamplate/blob/master/tests/admin.png)


## Frameworks and Libraries Used
Client: Tailwind,Javascript,HTML .
Server: Nodejs, Expressjs, and MongoDB.
## How to configure
Instructions for setting up project
1. Install node js in your computer
2. Now initialize npm by using npm init command
3. install all packages mentioned in package.json depencies section.
4. You have install tailwind css using postcss plugin and apply its styles by entering
npm build command.
## How to Run
Instructions for running
1. Go to the code section above and download it as a zip.
2. Extract the zip file, then open the extracted folder in vscode.
3. Press ctrl+j on Windows, it will open the terminal to this folder.
4. Now run the command npm start, which will launch this on localhost:4000 and the server at localhost:4000. (If it doesn't redirect you, then manually search localhost:4000).
Done! Now you will be able to see the project running on your system.
1 change: 1 addition & 0 deletions Wecontact/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Loading