CSV-PROJECT-API

To configure this project,follow the step by step below:

Configuration


  • Edit the .env.example file with your enviroment information.
  • To execute this APP, install nodeJS and MongoDB in your system and go to root folder and type the follow commands:
  • npm install and npm start
  • To execute as development mode type the command:
  • npm run hotReload

Endpoints


user
  • POST /user/

contact

  • POST /contact

auth

  • POST /auth

Next steps to implement

  • Process CSV file upload by User
  • Mapping CSV information into collection fields
  • send response to user after finish file processing
  • Save history file processing, for show information to users.
  • Refactor the code to make the file processing in background, maybe using strams
  • Encrypt user password
  • Create enumeration of status of imported files.
  • Make the Upload of files to AWS s3
  • Implement unit tests
  • deploy project on AWS
  • and so on