Using React.js and Node.js to implement an image upload system.
Perform checking for the images
- Size less than 5 Mb each
- Background needs to be transparent
- Must be in PNG format
- create file
.env
in the root directory to store your environment variables by copying the structure below
PORT=
#DB
DB_USER=
DB_PASSWORD=
- run the commands below
$ npm install
$ cd server
$ node index.js
- open another terminal and run the commands below
$ cd client
$ npm install
$ cd src
$ node index.js