Git Product home page Git Product logo

sharfshiplo / simple-next-skeleton Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 0.0 1.11 MB

A Complete NextJS Skeleton with next-auth, js-cookie, react-query, react-hook-form, yup, jotai, headlessui/react, Tailwind-CSS and with all the necessary configurations to start a project.

Home Page: https://fantastic-elf-b2b16a.netlify.app/

License: MIT License

JavaScript 8.05% TypeScript 86.40% CSS 4.96% Shell 0.58%
axios jotai next-auth nextjs react react-hook-form react-query tailwind-css next-skeleton headlessui

simple-next-skeleton's Introduction

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, Clone this repo, cd into correct directory then command:

yarn 
#or 
npm install 

to install all dependencies then add a '.env' file in the root directory of this project. And fill the following environment variables with proper value:

NEXT_PUBLIC_REST_API_ENDPOINT='http://localhost/'#For development 'http://localhost', For production this should be your Api end-point
NEXT_PUBLIC_NEXTAUTH_URL='http://localhost:3000'#For development 'http://localhost:3000', For production this should be 'yourdomain.com'
NEXT_PUBLIC_SITE_URL='http://localhost:3000'#For development 'http://localhost:3000', For production this should be 'yourdomain.com'
#For Social Authentication
GOOGLE_CLIENT_ID=YOUR_GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET=YOUR_GOOGLE_CLIENT_SECRET
SECRET=YOUR_SECRET_KEY

Then run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

simple-next-skeleton's People

Contributors

sharfshiplo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.