Skip to content

Commit ef4d44e

Browse files
committed
Minor updates
1 parent d70488e commit ef4d44e

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ This is a Next.js API route that facilitates file uploads from the client-side a
1313
## Prerequisites
1414

1515
Before you get started, make sure you have the following:
16+
1617
- Node.js (v12 or higher recommended)
1718
- An Azure Storage account with access keys.
1819
- An Azure Blob Container created in your Storage account.
@@ -24,24 +25,32 @@ These instructions will get you a copy of the project up and running on your loc
2425
### Installation
2526

2627
1. Clone the repository:
28+
2729
```bash
2830
git clone https://github.com/your-github-username/your-repo-name.git
2931
cd file-uploader-api
3032
```
33+
3134
2. Install NPM packages:
35+
3236
```bash
3337
npm install
3438
```
39+
3540
3. Create a `.env.local` file in the root of your project and populate with configurations from `.env.example`.
3641

3742
### Running the project
43+
3844
After installation, you can start the development server:
45+
3946
```bash
4047
npm run dev
4148
```
49+
4250
Open `http://localhost:3000` with your browser to see the file uploader component where you can upload files to azure blob storage.
4351

4452
### API Reference
53+
4554
#### POST /api/upload
46-
Accepts a multipart/form-data request with a field named files which should contain the files to be uploaded.
4755

56+
Accepts a multipart/form-data request with a field named files which should contain the files to be uploaded.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "file-uploader",
3-
"version": "0.1.0",
3+
"version": "1.0.0",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",

0 commit comments

Comments
 (0)