# Photo_Album_SIL
is a web application that allows us to view a list of users, their albums and photos.
Run this command to install Curl
sudo apt update
sudo apt upgrade -y
sudo apt install curl -y
Then install Node js
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
Activate NVM
using the command below
.bashrc
nvm install --lts
nvm alias default 18.18.2
check to see if node js has been installed successfully
node --version
# or
node -v
Switch to Node version 18 or 20
using this command
nvm use 18
#or
nvm use 20
To setup the project, you need to clone the project and install the dependencies.
- To clone, run the following command
git clone git@github.com:SIL-photo-album/Frontend.git
cd Frontend
- Install the dependencies using the following command
npm install
To run unit tests, run the following command in the terminal: 1. From your root folder, run npm run test
To start and view the project, run npm run dev
this will run on port 3000