Skip to content

Commit

Permalink
First Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayyy13 committed Apr 2, 2024
0 parents commit fe9c64f
Show file tree
Hide file tree
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.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
REACT_APP_BASE_URL = "http://localhost:4000/api/v1"
23 changes: 23 additions & 0 deletions .gitignore
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*
31 changes: 31 additions & 0 deletions README.md
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.
18 changes: 18 additions & 0 deletions Server/.env
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

12 changes: 12 additions & 0 deletions Server/config/cloudinary.js
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)
}
}
14 changes: 14 additions & 0 deletions Server/config/database.js
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)
})
}
7 changes: 7 additions & 0 deletions Server/config/razorpay.js
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,

})
Loading

0 comments on commit fe9c64f

Please sign in to comment.