40 lines
721 B
Markdown
40 lines
721 B
Markdown
# 3PL Technical Assessment
|
|
|
|
Movie Search Site
|
|
|
|
## Information
|
|
|
|
Built with ReactJS and Typescript using create vite@latest
|
|
|
|
## Hosting Locally
|
|
|
|
### Clone the repository
|
|
|
|
```
|
|
git clone https://git.paulus.casa/Paulus/tech-assessment-3pl.git && cd tech-assessment-3pl
|
|
```
|
|
|
|
### Install dependencies
|
|
|
|
```
|
|
npm install
|
|
```
|
|
|
|
### Create .env file with API address and your API Key
|
|
|
|
The file should look like this. You must prefix the key and address with VITE\_ due to the configuration of the project.
|
|
|
|
```
|
|
VITE_APIKEY=yourkey
|
|
VITE_APIADDRESS=http://www.omdbapi.com/
|
|
```
|
|
|
|
### Host Locally
|
|
|
|
```
|
|
npm run dev
|
|
```
|
|
|
|
### NPM has a bug with optional dependencies
|
|
|
|
Use ```pnpm``` instead of ```npm``` - This will require installing pnpm |