Skip to content

farischt/portfolio

Repository files navigation

Hey, this is Faris !

avatar

Welcome to my portfolio source code

This is a Next.js web application using a CMS to retrieve data, called sanity.io

Getting started

In order to make it work localy run the following commands :

yarn install
cd sanity
yarn install

Create a sanity project in your sanity's personnal dashboard (on their website), then update your sanity.json file with the correct information.

Create a .env.development.local file and update .env.production file following the .env.example file.

Run

sanity start

Open http://localhost:3333 with your browser to access your sanity studio. Make sure to add some content in order to create a working front-end.

You can now run your Next.js front-end and see the result. On another terminal in the root directory:

yarn dev

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

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.