Lab Chapter 1 - Setting Up Development Environment
Lab Chapter 1 - Setting Up Development Environment
Install Git
1. Navigate to the latest Git for Windows installer and download the latest version.
2. Once the installer has started, follow the instructions as provided in the Git
Setup wizard screen until the installation is complete.
3. Open the windows command prompt (or Git Bash if you selected not to use the
standard Git Windows Command Prompt during the Git installation).
4. Type git version to verify Git was installed.
https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-
windows#install-nvm-windows-nodejs-and-npm
Install Express.js
Assuming NodeJS and npm were successfully installed, Express.js can be installed
via npm with the following command:
For more information, please follow the Express.js Getting started guide
Install React
To install React, we recommend using [Vite](https://vitejs.dev/guide/) installed
via npm` when setting up a full React.js application:
Install PostgreSQL
1. Navigate to PostgreSQL Windows installer and download the latest version.
2. Once the installer has started, follow the instructions as provided in
the PostgreSQL Setup wizard screen until the installation is complete.
o Follow the recommended defaults.
o When prompted for a superuser (postgres) password, set one and store
accordingly.
o Uncheck option about Stack Builder
3. Open pgAdmin client (which comes as part of the default installation) to verify the
installation.
o Start the pgAdmin application. The first time you open the application,
pgAdmin will prompt you to set a master password. To keep things simple,
we suggest to use the same password as for postgres supersuer.
o Add a New server with the following:
Host: localhost
Port: 5432
Username: postgres
Password: The password set for postgres superuser
o If the connection is successful, you should see live PostgreSQL server
stats
4. To run & use psql command line tool in the terminal, Add
PostgreSQL bin directory into the PATH system variable. Follow this instructions
o Once this is done, psql should be accesible from the command line . ie:
psql -U postgres
2.) Basic REST API Integration