Before you begin, ensure you have met the following requirements:
- Node.js and npm installed on your local machine. You can download and install them from here.
- Proper understanding of Typescript.
To get a local copy up and running follow these simple steps:
-
Clone the repository:
git clone https://github.com/avezqureshi14/cloudflare-d1-r2-apis.git
-
Navigate into the project directory:
cd ./cloudflare-d1-r2-apis
-
Install dependencies:
npm install
To start the development server, run:
npm start
To build the production version of the application, run:
wrangler deploy
This command generates an optimized production build of your application.