- Implemented CORS middleware in the project to handle cross-origin requests. - Added necessary files for the CORS package including README, LICENSE, and history documentation. - Created a SQL schema for the users table with appropriate fields and constraints. - Inserted mock data into the users table for testing purposes.
1.0 KiB
1.0 KiB
contributing to cors
CORS is a node.js package for providing a connect/express middleware that can be used to enable CORS with various options. Learn more about the project in the README.
The CORS Spec
Pull Requests Welcome
- Include
'use strict';
in every javascript file. - 2 space indentation.
- Please run the testing steps below before submitting.
Testing
$ npm install
$ npm test
Interactive Testing Harness
http://node-cors-client.herokuapp.com
Related git repositories: