A way to organize, share and discover great developer links of tutorials, blogs, and podcasts.
- /client
React project
- /server
Node-Express project (using MongoDB)
-
After cloning
- cd into both client and server and
npm install
, - then
npm start
in either client or server folder.
- cd into both client and server and
-
Project uses concurrently to invoke both React (port 8080) and Node (port 5000).
-
To seed the Mongo DB use the following:
-
Example
mongoimport
commands. The values for your DB can be found in Atlas, under Clusters -> Collections -> Command Lines Tools -> Data Import and Export Tools section:
mongoimport --host YOUR_MONGO_CLUSTER --ssl --username USERNAME --password PASSWORD --authenticationDatabase admin --db DB --collection collections --type json --file ../getting-started/collections.json --jsonArray
mongoimport --host YOUR_MONGO_CLUSTER --ssl --username USERNAME --password PASSWORD --authenticationDatabase admin --db DB --collection users --type json --file ../getting-started/users.json --jsonArray
-
Project uses an
.env
file to store sensitive data. Create one in the root of./server
and store the following valuesDB=MONGO_DB_CONNECTION_STRING
(can be found in Atlas, under Clusters -> Connect -> Connect your application)PORT=SERVER_PORT
(the code will default to 5000)
- Save Button
- Currently saves to dabase (BE done) but UI FE requires work.
- Usage of fontawesome is currently via CDN.
- npm a fontawesome package for performance.