https://github.com/farischt/portfolio
Faris's portfolio
https://github.com/farischt/portfolio
Last synced: 7 months ago
JSON representation
Faris's portfolio
- Host: GitHub
- URL: https://github.com/farischt/portfolio
- Owner: farischt
- License: mit
- Created: 2022-09-26T18:43:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-28T22:33:03.000Z (over 3 years ago)
- Last Synced: 2024-12-28T04:15:13.864Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://faris.chtatou.org/
- Size: 2.05 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Hey, this is Faris !
## 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 :
```bash
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](/sanity/sanity.json) with the correct information.
Create a `.env.development.local` file and update `.env.production` [file](.env.production) following the [.env.example](.env.example) file.
Run
```bash
sanity start
```
Open [http://localhost:3333](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:
```bash
yarn dev
```
Open [http://localhost:3000](http://localhost:0003) with your browser to see the result.
### Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
### Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.