Skip to content

Apfirebolt/next_books

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Next.js React Tailwind CSS Framer Motion Axios

Books Database App

Introduction

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

Features

  • View a list of books
  • Tailwind CSS components with custom theme
  • Responsive design for mobile and desktop

Technologies Used

  • 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

Prerequisites

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.

Enable Google Auth

Create an env file with the following contents :-

NEXTAUTH_SECRET="your_secret_key"
GOOGLE_CLIENT_ID="your_google_client_id"
GOOGLE_CLIENT_SECRET="your_google_secret"

Installation

To install the project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/apfirebolt/next_books.git
    cd next_books
  2. Install the dependencies:

    npm install
  3. Start the development server:

    npm run dev

Usage

To use the application, follow these steps:

  1. Open your browser and navigate to http://localhost:3000.
  2. Browse the list of games.

Screenshots

This is the Books page

Screenshot

Project Structure

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

Available Scripts

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.

Contributing

Contributions are always welcome! Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature/your-feature).
  6. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Learn More

To learn more about Next.js and React, check out the following resources:

About

A Books database application created using Next JS, Tailwind CSS and Framer Motion πŸš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors