Skip to content

Commit acda3fd

Browse files
authored
Merge pull request #42 from FlipTask/staging
Staging
2 parents bed2fce + 03e108b commit acda3fd

File tree

106 files changed

+2604
-2120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+2604
-2120
lines changed

.env.example

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
PORT=
2+
HOST_URL=
3+
SECRET=
4+
LOG_DIR=./logs
5+
6+
# Database
7+
DB_TYPE=
8+
DB_HOST=
9+
DB_PORT=
10+
DB_USERNAME=
11+
DB_PASSWORD=
12+
DB_NAME=
13+
14+
# Email
15+
MAILER_USERNAME=
16+
MAILER_PASSWORD=
17+
MAILER_SERVICE_NAME=
18+
MAILER_SENDER_EMAIL=
19+
MAILER_HOST=
20+
21+
# Google Auth
22+
GOOGLE_CLIENT_ID=
23+
GOOGLE_CLIENT_SECRET=
24+
GOOGLE_CALLBACK_URL=/user/auth/google/callback

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
/upload/*.jpg
77
/upload/*.png
88
/upload/*.jpeg
9-
/env/dev.env
9+
.env
10+
.vscode

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ Steps to follow
1515
1. Clone Fliptask-API
1616
2. Change the current directory to `fliptask-api`.
1717
```
18-
cd tasify
18+
cd fliptask-api
1919
```
20-
3. Run the install script `install.sh`
20+
3. Copy `.env.example` as `.env`, make required changes.
21+
22+
4. Run the install script `install.sh`
2123
```
2224
bash ./install.sh
2325
```
24-
4. To start the server run:
26+
5. To start the server run:
2527
```
2628
npm run dev
2729
```
2830

29-
> open <http://localhost:3000> in browser.
30-
3131
### Possible Errors and its solutions
3232
If get any `error` in running `install.sh`, example :
3333
```

env/dev.env

Lines changed: 0 additions & 12 deletions
This file was deleted.

env/prod.env

Lines changed: 0 additions & 12 deletions
This file was deleted.

install.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
11
#!/bin/bash
22

3-
printf "\n------------ Installing Dependencies ----------------\n\n"
4-
5-
npm install;
6-
7-
printf "\n------------ Rebuilding bcrypt package --------------\n\n"
8-
9-
npm rebuild bcrypt --build-from-source;
10-
11-
printf "\n--------- Run (npm run dev) to start server ---------\n\n"
3+
npm ci;

0 commit comments

Comments
 (0)