A directory of mini-golf courses where users can search
![](https://private-user-images.githubusercontent.com/32559031/405911454-fed9142b-049a-4ea0-b693-58defbebf1eb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODI1MTcsIm5iZiI6MTczOTQ4MjIxNywicGF0aCI6Ii8zMjU1OTAzMS80MDU5MTE0NTQtZmVkOTE0MmItMDQ5YS00ZWEwLWI2OTMtNThkZWZiZWJmMWViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIxMzAxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTViMjEwODVlYzkyODYzYTA0MjZiNDkyY2E1NWNiYWVkN2Y3MjUzZjZjZmM1NDlhYWFjZGY4YzEwNWZkZGU4NzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.NzJhewy5FfTO8J8c7RVuAzVqecLEtFOtBqQUxyXBTtA)
- Search by location
- View photos
Client: React, Next.js, Chakra UI
Server: Node, Express, Prisma
DB: MYSQL
Clone the project
git clone git@github.com:michellbrito/golfmini.git
Go to the project directory
cd golfmini
Install dependencies
npm run client:install
npm run server:install
Start the server
npm run server:start
Start the client
npm run client:dev
Query | Type | Description |
---|---|---|
type |
string |
The type of the location such as indoor, and outdoor |
theme |
string |
The theme of the location such as castle, glow in the dark, pirate, and jungle |
state |
string |
State within USA |
city |
string |
City within USA |
page |
int |
The paginated page results should be fetched from |
limit |
int |
The maximum number of locations should be returned |
Params | Type | Description |
---|---|---|
id |
int |
The id of a specific location |
To run this project, you will need to create 2 .env files 1 within client and 1 within server
NEXT_PUBLIC_API_URL
DATABASE_URL
CLIENT_URL