Open-Source Platform for Uploading and Downloading Files
Simple and optimized Personal Website ( See Demo ) . It includes:
- Next.js 16.1.5
- Archiver 7.0.1
- react-md-editor 4.0.11
- Eslint linting with continuous linting on file change
- Prettier
- knip
- tailwindcss 4
- react-compiler 1
Make sure you have the latest Stable or LTS version of Node.js installed.
git clone https://github.com/am-abazari/zar-file.git- Run
npm installoryarn install - Start the dev server using
npm run devoryarn dev - Open http://localhost:3000/
- Create
.envfile inside of project - Set
API_BASE_URLvalue to your backend api. - set
UPLOAD_DIRvalue. (default ispublic/uploads) - set
NOTES_DIRvalue. (default ispublic/notes) - set
NEXT_PUBLIC_API_URLvalue. (default isapi) - set
NEXT_PUBLIC_API_VERSIONvalue. (default isv1)
npm run dev- start the dev servernpm run build- building projectnpm run start- start build filesnpx knip- find unused files or exportsnpx prettier . --writeformat all files and write themnpm run lintlinting files
The project is using the Next.js. All configurations are located in package.json
You can find Alias and url configs in tsconfig.json
Vercel deployment configs located in vercel.json
Configs about redirecting pages are located in next.config.json
You can config prttier and eslint in .prettierrc.json and eslint.config.mjs or .eslintrc.json files
Amirhossein Abazari Full-Stack Web Developer
