-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit fe9c64f
Showing
4,753 changed files
with
1,766,623 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
REACT_APP_BASE_URL = "http://localhost:4000/api/v1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# React & Tailwind CSS Starter Pack | ||
|
||
This is a starter pack for creating React projects with Tailwind CSS configured. It uses React version **18.2** and Tailwind CSS version **3.2**. | ||
|
||
## Usage | ||
|
||
This starter pack includes a basic setup for using **Tailwind CSS with React**. To start building your own components and styles, follow these steps: | ||
|
||
1. Clone the repository to your local machine. | ||
```sh | ||
git clone https://github.com/thepranaygupta/react-tailwind-css-starter-pack.git | ||
``` | ||
|
||
1. Install the required packages. | ||
```sh | ||
cd react-tailwind-css-starter-pack | ||
npm install | ||
``` | ||
|
||
1. Start the development server. | ||
```sh | ||
npm start | ||
``` | ||
1. Open the project in your browser at [`http://localhost:3000`](http://localhost:3000) to view your project. | ||
1. Create your React components and add your styles using Tailwind classes. You can also create new CSS files and import them into your components. | ||
|
||
The project is set up to use `postcss-cli` to process your CSS files. You can add your own `tailwind.config.js` file to customize your Tailwind setup. | ||
|
||
## Contributing | ||
|
||
Contributions are welcome! If you have any suggestions or find any issues, please feel free to open an issue or a pull request. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
MAIL_HOST=smtp.gmail.com | ||
MAIL_USER=[email protected] | ||
MAIL_PASS=nrqa qykv jhho xtei | ||
|
||
JWT_SECRET="akshay" | ||
FOLDER_NAME="Codehelp" | ||
|
||
RAZORPAY_KEY=rzp_test_SbFI7GubHqnjuG | ||
RAZORPAY_SECRET=CliIwxplnX8p5aTcKOp0bV4u | ||
|
||
CLOUD_NAME="dilnc70jk" | ||
API_KEY='672456732735113' | ||
API_SECRET="7zFFPlsfAsxMvxoY6o7Jj5vaU24" | ||
|
||
MONGODB_URL="mongodb+srv://aks333552:[email protected]/CodeBud_DB" | ||
# w7ZKUq4boEtGPxzN | ||
PORT=4000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const cloudinary =require("cloudinary").v2; | ||
exports.cloudinaryConnect = ()=>{ | ||
try { | ||
cloudinary.config({ | ||
cloud_name:process.env.CLOUD_NAME, | ||
api_key:process.env.API_KEY, | ||
api_secret:process.env.API_SECRET, | ||
}) | ||
} catch (error) { | ||
console.log(error) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const mongoose = require("mongoose") | ||
require("dotenv").config() | ||
|
||
exports.connect = ()=>{ | ||
mongoose.connect(process.env.MONGODB_URL,{ | ||
|
||
}).then(()=>{ | ||
console.log("Db Connected") | ||
}).catch((e)=>{ | ||
console.log("Db Connection Failed") | ||
console.error(e); | ||
process.exit(1) | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
const Razorpay = require('razorpay') | ||
|
||
exports.instance = new Razorpay({ | ||
key_id:process.env.RAZORPAY_KEY, | ||
key_secret:process.env.RAZORPAY_SECRET, | ||
|
||
}) |
Oops, something went wrong.