Skip to content

StaticPrime/CreditCardValidator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credit Card Validator

A credit card validator using NodeJS and React using the

How to build and run this project

  • Running the Sever
    • Navigate to the server directory.
    • Make a copy of .env.example file to .env.
    • Run npm install to install all dependencies.
    • Run npm run build. Once the build is complete, launch the server with npm start
    • You will be able to access the api from http://localhost:3000
  • Running the Application
    • Navigate to the app directory.
    • Make a copy of .env.example file to .env.
    • Run npm install to install all dependencies.
    • Launch the applicaiton with npm start
    • You will be able to access the api from http://localhost:8080
  • Run The Tests
    • Follow the instructions above to launch the server.
    • To run the server side tests execute npm test while the server is running.

License

   Copyright (C) 2023 Jason Breault

   Permission is hereby granted, free of charge, to any person obtaining a copy 
   of this software and associated documentation files (the “Software”), to deal 
   in the Software without restriction, including without limitation the rights 
   to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
   copies of the Software, and to permit persons to whom the Software is 
   furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all 
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A credit card validator using NodeJS and React using the Luhn Algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published