helix

所属分类:FaaS/Serverless
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2023-08-08 16:13:41
上 传 者sh-1993
说明:  竞争性编程的现代平台。,
(A modern platform for competitive programming.,)

文件列表:
.env.example (392, 2023-09-08)
.eslintrc.cjs (1160, 2023-09-08)
.vercelignore (16, 2023-09-08)
Dockerfile (1992, 2023-09-08)
LICENSE (2787, 2023-09-08)
app/ (0, 2023-09-08)
app/api/ (0, 2023-09-08)
app/api/chat/ (0, 2023-09-08)
app/api/chat/route.ts (1485, 2023-09-08)
clean.sh (1127, 2023-09-08)
docs/ (0, 2023-09-08)
docs/DocumentatieNationala.pdf (1975212, 2023-09-08)
next.config.mjs (778, 2023-09-08)
package-lock.json (837870, 2023-09-08)
package.json (3409, 2023-09-08)
pnpm-lock.yaml (535731, 2023-09-08)
postcss.config.cjs (107, 2023-09-08)
prettier.config.cjs (148, 2023-09-08)
prisma/ (0, 2023-09-08)
prisma/migrations/ (0, 2023-09-08)
prisma/migrations/20230529083529_user/ (0, 2023-09-08)
prisma/migrations/20230529083529_user/migration.sql (1821, 2023-09-08)
prisma/migrations/20230602144647_groups_and_posts/ (0, 2023-09-08)
prisma/migrations/20230602144647_groups_and_posts/migration.sql (1340, 2023-09-08)
prisma/migrations/20230602145054_default_values_for_post/ (0, 2023-09-08)
prisma/migrations/20230602145054_default_values_for_post/migration.sql (176, 2023-09-08)
prisma/migrations/20230605144129_new_like_model/ (0, 2023-09-08)
prisma/migrations/20230605144129_new_like_model/migration.sql (319, 2023-09-08)
prisma/migrations/20230608152848_bookmarks/ (0, 2023-09-08)
prisma/migrations/20230608152848_bookmarks/migration.sql (92, 2023-09-08)
prisma/migrations/20230609155344_private_groups/ (0, 2023-09-08)
prisma/migrations/20230609155344_private_groups/migration.sql (263, 2023-09-08)
prisma/migrations/20230610144839_comments/ (0, 2023-09-08)
prisma/migrations/20230610144839_comments/migration.sql (748, 2023-09-08)
prisma/migrations/20230614142621_images/ (0, 2023-09-08)
prisma/migrations/20230614142621_images/migration.sql (65, 2023-09-08)
prisma/migrations/20230614145227_upload_images/ (0, 2023-09-08)
... ...

# Helix Helix is an open-source website to help you learn & practice programming. InfoEducatie 2023: [Documentatie](https://github.com/docs/DocumentatieNationala.pdf) # Required dependencies Besides the specified node packages, you need to have the following software to host the frontend: - git (any version) - nodejs >= 16 The [code execution engine](https://github.comhttps://github.com/nikolatesla13/exec) is also part of this project. It is used to run the submitted code. # How to run Firstly, clone the repository: ```bash git clone https://github.com/NikolaTesla13/helix.git ``` Go to the newly created directory: ```bash cd helix ``` You can use any nodejs package manager to manage the dependencies (such as npm, yarn or pnpm). During development, npm was used: ```bash # install required packages npm install ``` Provide the required environment variables in a `.env` file, refer to the `.env.example` file for example usage: ```bash NODE_ENV="development" NEXTAUTH_URL="http://localhost:3000" NEXTAUTH_SECRET="" DATABASE_URL="" UPLOADTHING_SECRET="" UPLOADTHING_APP_ID="" HUGGINGFACE_API_KEY="" DISCORD_CLIENT_ID="" DISCORD_CLIENT_SECRET="" GITHUB_CLIENT_ID="" GITHUB_CLIENT_SECRET="" GOOGLE_CLIENT_ID="" GOOGLE_CLIENT_SECRET="" TWITTER_CLIENT_ID="" TWITTER_CLIENT_SECRET="" ``` And now you can start the services: ```bash # starts frontend on localhost:3000 npm run dev # starts the prisma studio on localhost:5555 npx prisma studio # starts the storybook testing server on localhost:6006 npm run storybook ``` Most common errors when running the frontend: - database connection error: check your connection url and if the db is up and running - dependencies error: check if a `node_modules` was created with the required libraries - backend not running: note that some features require the backend server to be running - feel free to open a new issue if you have discovered a bug

近期下载者

相关文件


收藏者