Skip to content

Commit 5b3c7b3

Browse files
Merge pull request #45 from CodeChefVIT/staging
Release v1.0.0 - Initial Public Release
2 parents 0f60cea + 8f17a1b commit 5b3c7b3

File tree

19 files changed

+261
-1365
lines changed

19 files changed

+261
-1365
lines changed

.env.example

+16-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@
99
# When adding additional environment variables, the schema in "/src/env.js"
1010
# should be updated accordingly.
1111

12-
# Example:
13-
# SERVERVAR="foo"
14-
# NEXT_PUBLIC_CLIENTVAR="bar"
12+
CLOUDINARY_API_KEY=""
13+
CLOUDINARY_SECRET=""
14+
CRYPTO_SECRET=""
15+
EMAIL_HOST=""
16+
EMAIL_PASSWORD=""
17+
EMAIL_PORT=""
18+
EMAIL_SECURE=""
19+
EMAIL_USER=""
20+
JWT_SECRET=""
21+
MONGODB_URI=""
22+
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=""
23+
NEXT_PUBLIC_CRYPTO_SECRET=""
24+
KV_URL=""
25+
KV_REST_API_URL=""
26+
KV_REST_API_TOKEN=""
27+
KV_REST_API_READ_ONLY_TOKEN=""

CONTRIBUTING.md

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
## Contribution Guidelines
2+
3+
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
4+
5+
## How to contribute
6+
7+
- Decide which repository to contribute
8+
- Decide what to contribute
9+
- Fork the repo then clone it locally
10+
- Commit your work (You should create a new branch when you're doing development work that is somewhat experimental in nature.)
11+
- Create a **Pull Request**
12+
- Congrats 🎉 you have just contributed towards open source!
13+
14+
## What to contribute
15+
16+
- Find an open issue to tackle
17+
- Ask if you can help write a new feature
18+
- Add / Improve Unit Testing
19+
- Write tutorials for how a project can be used and add to the readme
20+
- Review code on other people’s submissions and help improving / finding vulnerabilities
21+
22+
## Making a PR
23+
- Provide all the appropriate details asked in PR template
24+
- A pull request doesn’t have to represent finished work. It’s usually better to open a pull request early on, so others can watch or give feedback on your progress. Just mark it as a “WIP” (Work in Progress) in the subject line. You can always add more commits later.
25+
26+
## Opening an Issue
27+
- Make use of an appropriate Issue Template
28+
- We welcome Feature request, Bug Report, Documentation fix and others
29+
- Do not open critical security issues here, report them directly at [our email](mailto:[email protected]).
30+
31+
## Communicating effectively
32+
**Give context.** Help others get quickly up to speed. If you’re running into an error, explain what you’re trying to do and how to reproduce it. If you’re suggesting a new idea, explain why you think it’d be useful to the project (not just to you!).
33+
34+
```
35+
✔️ “X doesn’t happen when I do Y”
36+
❌ “X is broken! Please fix it.”
37+
```
38+
39+
**Do your homework beforehand.** It’s OK not to know things, but show that you tried. Before asking for help, be sure to check a project’s README, documentation, issues (open or closed), mailing list, and search the internet for an answer. People will appreciate when you demonstrate that you’re trying to learn.
40+
41+
```
42+
✔️ ““I’m not sure how to implement X. I checked the help docs and didn’t find any mentions.””
43+
❌ “How do I X?”
44+
```
45+
46+
**Keep requests short and direct.**
47+
48+
```
49+
✔️ “I’d like to write an API tutorial.”
50+
❌ “I was driving down the highway the other day and stopped for gas, and then I had this amazing idea for something we should be doing, but before I explain that, let me show you…“
51+
```
52+
53+
**It’s okay to ask questions (but be patient!).**
54+
55+
```
56+
✔️ “Thanks for looking into this error. I followed your suggestions. Here’s the output.”
57+
❌ “Why can’t you fix my problem? Isn’t this your project?”
58+
```
59+
60+
**Respect community decisions.**
61+
62+
```
63+
✔️ “I’m disappointed you can’t support my use case, but as you’ve explained it only affects a minor portion of users, I understand why. Thanks for listening.”
64+
❌ “Why won’t you support my use case? This is unacceptable!”
65+
```
66+
67+
## Misc
68+
- You are welcome to Propose a new feature by creating an **Issue**.
69+
- You may Discuss a high-level topic or idea (for example, community, vision or policies) by writing to us at our [Email](mailto:[email protected]).
70+
71+
## Attribution
72+
- [Open Source Guide](https://opensource.guide/how-to-contribute/)

README.md

+47-18
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,58 @@
1-
# Create T3 App
1+
<p align="center"><a href="https://www.codechefvit.com" target="_blank"><img src="https://i.ibb.co/4J9LXxS/cclogo.png" width=160 title="CodeChef-VIT" alt="Codechef-VIT"></a>
2+
</p>
23

3-
This is a [T3 Stack](https://create.t3.gg/) project bootstrapped with `create-t3-app`.
4+
<h2 align="center"> Papers </h2>
5+
<br/>
46

5-
## What's next? How do I make an app with this?
7+
> <p>Prepare to excel in your CATs and FATs with CodeChef-VIT's dedicated repository of past exam papers. Access key resources to review concepts, tackle challenging questions, and familiarize yourself with exam patterns. Boost your confidence, sharpen your strategy, and get ready to ace your exams!</p>
68
7-
We try to keep this project as simple as possible, so you can start with just the scaffolding we set up for you, and add additional things later when they become necessary.
9+
## 🌐 Deploy
10+
[https://papers.codechefvit.com/](https://papers.codechefvit.com/)
811

9-
If you are not familiar with the different technologies used in this project, please refer to the respective docs. If you still are in the wind, please join our [Discord](https://t3.gg/discord) and ask for help.
12+
## ⚙️ Tech Stack:
1013

11-
- [Next.js](https://nextjs.org)
12-
- [NextAuth.js](https://next-auth.js.org)
13-
- [Prisma](https://prisma.io)
14-
- [Drizzle](https://orm.drizzle.team)
15-
- [Tailwind CSS](https://tailwindcss.com)
16-
- [tRPC](https://trpc.io)
14+
- Next.js : Framework for React applications with server-side rendering.
15+
- Tailwind CSS : Utility-first CSS framework for rapid UI development.
16+
- MongoDB & Mongoose : Database and object data modeling (ODM) for Node.js.
17+
- Cloudinary : Media storage and optimization service.
18+
- Nodemailer : Node.js library for sending emails.
19+
- Shadcn : Collection of pre-built components using Radix UI and Tailwind CSS.
1720

18-
## Learn More
21+
## 💡 Features:
1922

20-
To learn more about the [T3 Stack](https://create.t3.gg/), take a look at the following resources:
23+
- Access a vast collection of past CAT and FAT papers
24+
- Review papers sorted by subject, year, and difficulty
25+
- Download papers for offline use
26+
- Familiarize yourself with exam patterns and types of questions
27+
- Stay updated with any new additions to the repository
2128

22-
- [Documentation](https://create.t3.gg/)
23-
- [Learn the T3 Stack](https://create.t3.gg/en/faq#what-learning-resources-are-currently-available) — Check out these awesome tutorials
29+
## 🏁 Get Started
2430

25-
You can check out the [create-t3-app GitHub repository](https://github.com/t3-oss/create-t3-app) — your feedback and contributions are welcome!
31+
To get started, fork your own copy and clone the master branch. To clone a branch you can run the following:
2632

27-
## How do I deploy this?
33+
```bash
34+
git clone -b master https://github.com/<Your username>/papers-codechef.git
35+
```
2836

29-
Follow our deployment guides for [Vercel](https://create.t3.gg/en/deployment/vercel), [Netlify](https://create.t3.gg/en/deployment/netlify) and [Docker](https://create.t3.gg/en/deployment/docker) for more information.
37+
Run these commands on your bash/terminal and open it in a code editor of your choice.
38+
39+
Run the following to install all the dependencies:
40+
41+
```bash
42+
pnpm i
43+
```
44+
45+
To start your development server run:
46+
47+
```bash
48+
pnpm dev
49+
```
50+
Before getting started, please ensure that the .env file is properly configured. The .env.example file has been provided for your reference, with examples of environment variables to be listed.
51+
52+
## License
53+
54+
[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://badges.mit-license.org)
55+
56+
<p align="center">
57+
Made with :heart: by <a href="https://www.codechefvit.com" target="_blank">CodeChef-VIT</a>
58+
</p>

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
"@react-pdf-viewer/zoom": "^3.12.0",
2525
"@t3-oss/env-nextjs": "^0.10.1",
2626
"@types/mongoose": "^5.11.97",
27+
"@upstash/ratelimit": "^2.0.3",
28+
"@vercel/kv": "^3.0.0",
2729
"axios": "^1.7.2",
2830
"bcrypt": "^5.1.1",
2931
"class-variance-authority": "^0.7.0",

pnpm-lock.yaml

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/watermark.jpg

-29 KB
Binary file not shown.

0 commit comments

Comments
 (0)