Create README.md in the front- and backend folder
This commit is contained in:
parent
3114ef138e
commit
866dca0e19
2 changed files with 23 additions and 24 deletions
18
backend/README.md
Normal file
18
backend/README.md
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Backend
|
||||||
|
|
||||||
|
## Env Configuration
|
||||||
|
|
||||||
|
To set the mail configuration for the backend, you must create an `.env` file in the root directory of your project. This file should have the following content:
|
||||||
|
|
||||||
|
### Step 1: Creating the `.env` file
|
||||||
|
|
||||||
|
Create a file named `.env` in the root directory of the project.
|
||||||
|
|
||||||
|
### Step 2: Add the e-mail configuration
|
||||||
|
|
||||||
|
Open the `.env` file and add the following lines:
|
||||||
|
|
||||||
|
```env
|
||||||
|
EMAIL_HOST_USER=example@gmail.com
|
||||||
|
EMAIL_HOST_PASSWORD=password
|
||||||
|
```
|
||||||
|
|
@ -15,32 +15,13 @@ You need to create the following files in the `src/environments/` directory:
|
||||||
|
|
||||||
In the `environment.ts` & `environment.prod.ts` file, add the following content:
|
In the `environment.ts` & `environment.prod.ts` file, add the following content:
|
||||||
|
|
||||||
````typescript
|
```typescript
|
||||||
export const environment = {
|
export const environment = {
|
||||||
production: false,
|
production: false,
|
||||||
baseUrl: 'YOUR_API_URL_HERE',
|
baseUrl: "YOUR_API_URL_HERE",
|
||||||
|
|
||||||
// Guest account
|
// Guest account
|
||||||
guestMail: 'YOUR_GUEST_EMAIL_HERE',
|
guestMail: "YOUR_GUEST_EMAIL_HERE",
|
||||||
guestPassword: 'YOUR_GUEST_PASSWORD_HERE',
|
guestPassword: "YOUR_GUEST_PASSWORD_HERE",
|
||||||
};
|
};
|
||||||
|
```
|
||||||
# Backend
|
|
||||||
|
|
||||||
## Env Configuration
|
|
||||||
|
|
||||||
To set the mail configuration for the backend, you must create an `.env` file in the root directory of your project. This file should have the following content:
|
|
||||||
|
|
||||||
### Step 1: Creating the `.env` file
|
|
||||||
|
|
||||||
Create a file named `.env` in the root directory of the project.
|
|
||||||
|
|
||||||
### Step 2: Add the e-mail configuration
|
|
||||||
|
|
||||||
Open the `.env` file and add the following lines:
|
|
||||||
|
|
||||||
```env
|
|
||||||
EMAIL_HOST_USER=example@gmail.com
|
|
||||||
EMAIL_HOST_PASSWORD=password
|
|
||||||
|
|
||||||
````
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue