I am Ruby on Rails Developer with Experience in All Basic ,Medium and Advance Modules with Ruby and Ruby on Rails . I have Covered 10+ Long Applications and 30+ short Applications. Known to Product and Service Based Works
Build a CRUD Template Using React, Bootstrap, Express & Postgres
1. Setup the Backend
The plan… Create express app, include all dependencies. Create a postgres database and a db table within it. Create a single page API that handles all the requests.
Take Action… Command Line…
mkdir crudPractice-api cd crudPractice-api git init mkdir controllers subl .
NPM Installs…
npm init -y npm install express body-parser pg knex dotenv helmet cors morgan npm install nodemon --save-dev
Setup… In the package.json file, do the following :
1. change the “name” to “Crud Practice” 2. change the “description” to “Practicing crud.” 3. replace the “main” line with… “main”: “server.js”, 4. replace the scripts content with… “start”: “nodemon server.js”
Add server.js file… create server.js file in root directory copy the contents of the code below to the new server.js file
Rails 7 Features :: Link :: https://medium.com/geekculture/whats-new-in-rails-7-b97d44eecdb2 What's new in Rails 7 :: 1. Webpack and node is not required 2. Encrypted Database Layer 3. Asynchronous Querying 4. Applications would only run in Asychronous Querying 5. Ujs and Turbolink is now replaced Stimulous and Turbo 6. Inline your query with single record using sole 7. Use controller actions to the streamed generated file 8. Named Variant .............................................................................................................................. Whats new in Rails -6 :: Note :: In Rails 6 many things we extract from the basecamp Link :: https://www.cuelogic.com/blog/whats-new-in-rails-6 1. Action Mailbox 2. Action Text 3. Parellel Testing 4. Action Cable Testing 5. Webpack ....................................... Rails -6 Features :: Link ::: https://www.toptal.com/r...
Comments
Post a Comment