First you'll need the Netlify CLI:
npm i -g netlify-cli
You will be running two processes during development when using Netlify as your server.
# in one tab
$ netlify dev
# in another
$ npm run dev
Open up http://localhost:3000 and you should be ready to go!
If you'd rather run everything in a single tab, you can look at concurrently or similar tools to run both processes in one tab.
You will need to add your REMIX_TOKEN
to your Netlify site's build and deploy settings:
Once that's done you can deploy!
$ npm run build
# preview deployment
$ netlify deploy
# production deployment
$ netlify deploy --prod