https://github.com/promi-shellbeegirl81/twitter-clone-using-nextjs
https://github.com/promi-shellbeegirl81/twitter-clone-using-nextjs
css nextjs twitter-clone
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/promi-shellbeegirl81/twitter-clone-using-nextjs
- Owner: Promi-ShellbeeGirl81
- Created: 2025-01-23T06:29:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-14T06:51:51.000Z (about 1 year ago)
- Last Synced: 2025-03-14T07:32:45.622Z (about 1 year ago)
- Topics: css, nextjs, twitter-clone
- Language: JavaScript
- Homepage: https://twitter-clone-using-next-js.vercel.app
- Size: 462 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
## Getting Started
First, run the development server:
```bash
npm run dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file.
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
## Testing Signup Backend in Postman
### 1. HTTP Method
**POST**
### 2. Endpoint URL
`http://localhost:3000/api/auth/signup`
### 3. Steps
- Open Postman.
- Set the request method to **POST**.
- Enter the endpoint URL in the URL field.
- In the **Body** tab:
- Select `raw`.
- Set the format to `JSON`.
- Add the required signup data in JSON format, for example:
`json
{
"name": "Promi",
"email": "promi@gmail.com",
"password": "12345678",
"confirmPassword": "12345678",
"dateOfBirth": "2000-11-28"
}
`
### 4. Send the Request
- Click **Send** and check the response for success or error messages.
### 5. Expected Response
- **On Success:**
```json
{
"message": "User created successfully"
}
```
