-
Notifications
You must be signed in to change notification settings - Fork 2
/
instructions.txt
58 lines (50 loc) · 1.59 KB
/
instructions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# links
github: https://github.com/akshatgarg12/Stack-hack-2.0
hackathon : https://www.hackerearth.com/challenges/hackathon/stackhack-20/
frontend_deployed_url: https://stack-hack-2-0.vercel.app/
backend_deployed_url: https://human-resource-backend.herokuapp.com/
youtube: https://youtu.be/q0KDqRb581o
# credentials to login: (required because app is protected with authentication) => {
to login as admin : [
{
email : michael@dundermifflin.com,
password: Michael5
},
{
email: david@dundermifflin.com,
password: David7
}
]
to login as regular employee: [
{
email : jim@dundermifflin.com,
password: Jim7
},
{
email: pam@dundermifflin.com,
password: Pam6
}
]
}
you can login as admin and create your own employee from the admin section and
can login using the email you specified and the password as
mind the caps of name which you specify during form creation!
: const password = firstName + String(lastName.length);
// eg : Akshat Garg => password = Akshat4
AKSHAT Garg => password = AKSHAT4
akshat Garg => password = akshat4
Michael Scott => password = Michael5
similarly you can find the password of all employee based on their name,
from the search page.
# instructions for running it locally.
1. to run client on local system :
a. cd client
b. npm install
c. npm start
2. to run server on local system:
a. cd server
b. npm install
c. npm run dev or node server.js
3. to connect client to local running server:
a. go to the /client/src/constants
b. change dev = true;