This project is a Next.js application that serves as a database for books. It allows users to view book entries from the API https://softgenie.org/api/books. The application is built using Next.js for server-side rendering and optimized performance. It uses Tailwind CSS for styling and Framer motion for animated components such as loaders
At the time of writing this, this application is available to be tested at https://next-books-lovat.vercel.app
- View a list of books
- Tailwind CSS components with custom theme
- Responsive design for mobile and desktop
- Next.js: A React framework for server-side rendering and static site generation
- React: A JavaScript library for building user interfaces
- Framer Motion: For animated components
- Tailwind CSS: Utility-based CSS library to apply styling to the application
- Axios: For making HTTP requests to a backend API
Before you begin, ensure you have met the following requirements:
- You have installed Node.js and npm.
- You have a basic understanding of JavaScript and React.
To install the project, follow these steps:
-
Clone the repository:
git clone https://github.com/apfirebolt/next_books.git cd next_books
-
Install the dependencies:
npm install
-
Start the development server:
npm run dev
To use the application, follow these steps:
- Open your browser and navigate to
http://localhost:3000
. - Browse the list of games.
This is the Books page
After creating the project, your directory structure should look like this:
next_games_database/
βββ node_modules/
βββ screenshots/
βββ public/
β βββ favicon.ico
β βββ vercel.svg
| |ββ next.svg
βββ src/
β βββ app/
β βββ components/
β βββ actions/
β βββ store.js
β βββ next.config.mjs
β βββ .gitignore
β βββ package.json
β βββ README.md
β βββ next.config.js
In the project directory, you can run:
npm run dev
: Starts the development server.npm run build
: Bundles the app into static files for production.npm start
: Starts the production server.
Contributions are always welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.
To learn more about Next.js and React, check out the following resources: