Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glamboyosa/marvel-info
One stop place for finding comics of your favourite Marvel heros ⚡️
https://github.com/glamboyosa/marvel-info
nextjs ssr styled-components
Last synced: about 1 month ago
JSON representation
One stop place for finding comics of your favourite Marvel heros ⚡️
- Host: GitHub
- URL: https://github.com/glamboyosa/marvel-info
- Owner: glamboyosa
- Created: 2021-08-11T23:17:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-07T18:53:39.000Z (over 3 years ago)
- Last Synced: 2024-10-24T22:06:51.834Z (3 months ago)
- Topics: nextjs, ssr, styled-components
- Language: TypeScript
- Homepage: marvel-info.vercel.app
- Size: 209 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Marvel Info
## Requirements
A [Marvel Developer Account](https://developer.marvel.com/docs)
## Getting Started
Clone the repository via:
```bash
git clone https://github.com/glamboyosa/info.git
```On the [my developer account page](https://developer.marvel.com/account#), click "add a new referrer" and in the input field enter `*`. This will allow API requests to be made from any URL. Ensure to click "update" for your changes to reflect.
Next, copy the value of your public key and replace it with the `NEXT_PUBLIC_MARVEL_API_KEY` value in the `.env.local` file.
## Run the app
To run the app, first install dependencies via:
```bash
npm install
#or
yarn
```Then run:
```bash
npm run dev
#or
yarn dev
```This will start a server on `http://localhost:3000`
## Optional - Code Formatting
To format your code with prettier run:
```bash
npm run prettier
#or
yarn prettier
```