Artur-Poffo / Book-Wise-Ignite

Project of ignite book wise

Home Page:https://book-wise-ignite.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Full Stack Book Evaluation Platform

Status: Finished

AboutFeaturesLayoutHow it worksTech StackAuthor

About

Book Wise - A Full Stack application that allows you to evaluate books and contains social login, is a challenge of the Ignite course of @Rocketseat


Features

  • Social login with Google and GitHub
  • List Books in a database
  • Filter books by categories
  • See other users page
  • Make evaluations and comments
  • Search by book or author names

Layout

The application layout is available on Figma:


How it works

Pre-requisites

Before you begin, you will need to have the following tools installed on your machine: Git, Node.js and docker to run a container with MySql. In addition, it is good to have an editor to work with the code like VSCode

Run the app

Create an .env file to add the environment variables, it should look like this:

To configure NextAuth and yours providers read the documentation

# Database URL to your local database in MySql
DATABASE_URL='mysql://.....'

# Next Auth Configs and providers

# URL of project
NEXTAUTH_URL="http://localhost:3000"
# Random string
NEXTAUTH_SECRET="dawodkiwdjufdkjnfueisfhisjfhsieuhyfhyfthfdgr"

# Following the steps in the NextAuth documentation to configure the providers is a bit of a long explanation :(

# Google Provider
GOOGLE_CLIENT_ID="................"
GOOGLE_CLIENT_SECRET=".............."

# GitHub Provider Configs
GITHUB_CLIENT_ID="..................."
GITHUB_CLIENT_SECRET="................."

Now run the project....

# Clone this repository
$ git clone https://github.com/Artur-Poffo/Book-Wise-Ignite.git

# Access the project folder cmd/terminal
$ cd Book-Wise-Ignite

# install the dependencies
$ npm install

# Run the application in development mode
$ npm run dev

# The server will start at port: 3000 - go to http://localhost:3000

Tech Stack

The following tools were used in the construction of the project:

  • Next.js
  • Typescript
  • Prisma ORM
  • Axios
  • @phosphor-icons
  • radix-ui
  • stitches
  • react-query
  • NextAuth
  • Zod

See the file package.json


Author

  • Artur Poffo - Developer

Linkedin Badge Gmail Badge


About

Project of ignite book wise

https://book-wise-ignite.vercel.app


Languages

Language:TypeScript 99.7%Language:JavaScript 0.3%