Exhib-It is a Next.js based web project that aims to combine popular museum/art exhibition apis, display them for public view and then allow you to make your own exhibits!
If you wish to see the website in action, the live demo link is below:
Simply click the green "Code" button above and either clone using Git or download as a ZIP!
Please ensure you have the following prerequisites downloaded:
- NPM
- Node.js
Open a command prompt inside the main exhib-it
folder.
Please run npm install
to install all available packages.
Create a file named .env
in the root directory.
This website runs on a single .env
file in the root directory and should contain the following lines:
NEXT_PUBLIC_HARVARD_API_KEY=your-key-here
NEXT_PUBLIC_FONTSAWESOME_KIT=https://kit.fontawesome.com/your-kit-code.js
For FontsAwesome, please visit their website to get yourself a kit code and select the
"get started" in your kit to find the link inside the src
tag of the easy installation script tag.
Please contact the Harvard API Team to get your api key for the harvard functionality to work.
To run a local version of the website for development, you can run npm run dev
.
Lastly, open http://localhost:3000 with your browser to see the result.