A directory of mini-golf courses where users can search
- 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.gitGo to the project directory
cd golfminiInstall dependencies
npm run client:install
npm run server:installStart the server
npm run server:startStart 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