- create configuration file .env based on .env.example
- type npm run dev on the terminal to open in development mode.
Details of each required enviroment variable.
- PORT: The port in which the server process will run
- DATABASE_HOST, DATABASE_NAME, DATABASE_USER_NAME, DATABASE_USER_PASSWORD: As you may guess from the name, these are the parameters used to connect the application with the database.
- UNSPLASH_ACCESS_KEY, UNSPLASH_SECRET_KEY: These are optional, are the API keys for (Unsplash)[https://unsplash.com/] API, used for generating random pictures.